1 /*jshint indent:2, curly:true, eqeqeq:true, immed:true, latedef:true,
2 newcap:true, noarg:true, regexp:true, undef:true, strict:true, trailing:true,
4 /*global SYS:true, XM:true, Backbone:true, _:true */
12 @extends XM.SimpleModel
14 SYS.ClientCodeRelation = XM.SimpleModel.extend({
16 recordType: 'SYS.ClientCodeRelation'
23 @extends XM.SimpleModel
25 SYS.ClientCode = XM.SimpleModel.extend({
27 recordType: 'SYS.ClientCode'
31 SYS.CustomerEmailProfile = XM.SimpleModel.extend({
32 recordType: 'SYS.CustomerEmailProfile'
38 @extends XM.SimpleModel
40 SYS.Extension = XM.SimpleModel.extend({
41 recordType: 'SYS.Extension'
44 SYS.File = XM.SimpleModel.extend({
45 recordType: 'SYS.File'
51 @extends XM.SimpleModel
53 SYS.Oauth2client = XM.SimpleModel.extend({
55 recordType: 'SYS.Oauth2client'
62 @extends XM.SimpleModel
64 SYS.Oauth2clientRedirs = XM.SimpleModel.extend({
66 recordType: 'SYS.Oauth2clientRedirs'
73 @extends XM.SimpleModel
75 SYS.Oauth2token = XM.SimpleModel.extend({
77 recordType: 'SYS.Oauth2token'
81 SYS.ReportDefinition = XM.SimpleModel.extend({
82 recordType: 'SYS.ReportDefinition'
88 @extends XM.SimpleModel
90 SYS.SessionStore = XM.SimpleModel.extend({
91 /** @scope SYS.SessionStore.prototype */
93 recordType: 'SYS.SessionStore',
104 @extends XM.SimpleModel
106 SYS.User = XM.SimpleModel.extend({
107 /** @scope SYS.User.prototype */
109 recordType: 'SYS.User'
116 @extends XM.SimpleModel
118 SYS.UserAccountRole = XM.SimpleModel.extend({
119 /** @scope SYS.UserAccountRole.prototype */
121 recordType: 'SYS.UserAccountRole'
128 @extends XM.SimpleModel
130 SYS.CreditCard = XM.SimpleModel.extend(/** @lends SYS.CreditCard.prototype */{
132 recordType: 'SYS.CreditCard',
141 @extends XM.SimpleModel
143 SYS.CreditCardPayment = XM.SimpleModel.extend(/** @lends SYS.CreditCardPayment.prototype */{
145 recordType: 'SYS.CreditCardPayment',
153 _.extend(SYS.CreditCardPayment, {
177 @extends XM.SimpleModel
179 SYS.SalesOrderPayment = XM.SimpleModel.extend(/** @lends SYS.SalesOrderPayment.prototype */{
181 recordType: 'SYS.SalesOrderPayment',
190 @extends XM.SimpleModel
192 SYS.Recover = XM.SimpleModel.extend(/** @lends SYS.Recover.prototype */{
194 recordType: 'SYS.Recover',
200 // ..........................................................
207 @extends XM.Collection
209 SYS.ClientCodeRelationCollection = XM.Collection.extend({
211 model: SYS.ClientCodeRelation
218 @extends XM.Collection
220 SYS.Oauth2clientCollection = XM.Collection.extend({
222 model: SYS.Oauth2client
229 @extends XM.Collection
231 SYS.Oauth2clientRedirsCollection = XM.Collection.extend({
233 model: SYS.Oauth2clientRedirs
239 @extends XM.Collection
241 SYS.Oauth2tokenCollection = XM.Collection.extend({
243 model: SYS.Oauth2token
247 SYS.ExtensionCollection = XM.Collection.extend({
251 SYS.FileCollection = XM.Collection.extend({
258 @extends XM.Collection
260 SYS.UserCollection = XM.Collection.extend({
261 /** @scope SYS.UserCollection.prototype */
270 @extends XM.Collection
272 SYS.RecoverCollection = XM.Collection.extend({
273 /** @scope SYS.RecoverCollection.prototype */
279 SYS.ReportDefinitionCollection = XM.Collection.extend({
281 model: SYS.ReportDefinition