@social-mail/social-mail-client 1.2.643 → 1.2.644
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/dist/admin/AdminAppIndex.pack.js +260 -85
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +4 -4
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/pages/stores/orders/EditOrderPage.js +1 -1
- package/dist/common/pages/stores/orders/EditOrderPage.js.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.d.ts +4 -4
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.d.ts.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.js +7 -3
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.js.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.d.ts +3 -3
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.d.ts.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.js +6 -5
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.js.map +1 -1
- package/dist/model/model.d.ts +61 -27
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +245 -75
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +245 -75
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +1 -1
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.js +245 -75
- package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
- package/dist/public/store/Store.pack.js +2231 -2142
- package/dist/public/store/Store.pack.js.map +1 -1
- package/dist/public/store/Store.pack.min.js +214 -214
- package/dist/public/store/Store.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.d.ts.map +1 -1
- package/dist/public/store/StoreApp.js +34 -4
- package/dist/public/store/StoreApp.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js +13829 -693
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +829 -2
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/public/store/StoreItemDetailView.d.ts.map +1 -1
- package/dist/public/store/StoreItemDetailView.js +3 -8
- package/dist/public/store/StoreItemDetailView.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js +245 -75
- package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
- package/dist/public/store/commands/StoreCommands.d.ts +5 -1
- package/dist/public/store/commands/StoreCommands.d.ts.map +1 -1
- package/dist/public/store/commands/StoreCommands.js +12 -1
- package/dist/public/store/commands/StoreCommands.js.map +1 -1
- package/dist/public/store/pages/StoreProductDetailPage.d.ts +23 -0
- package/dist/public/store/pages/StoreProductDetailPage.d.ts.map +1 -0
- package/dist/public/store/pages/StoreProductDetailPage.js +355 -0
- package/dist/public/store/pages/StoreProductDetailPage.js.map +1 -0
- package/dist/public/store/pages/StoreProductListPage.d.ts +24 -0
- package/dist/public/store/pages/StoreProductListPage.d.ts.map +1 -0
- package/dist/public/store/pages/StoreProductListPage.js +358 -0
- package/dist/public/store/pages/StoreProductListPage.js.map +1 -0
- package/dist/public/user/WebSiteUserService.d.ts.map +1 -1
- package/dist/public/user/WebSiteUserService.js +8 -8
- package/dist/public/user/WebSiteUserService.js.map +1 -1
- package/dist/public/user/pages/SiteLoginPage.d.ts +29 -0
- package/dist/public/user/pages/SiteLoginPage.d.ts.map +1 -0
- package/dist/public/user/pages/SiteLoginPage.js +204 -0
- package/dist/public/user/pages/SiteLoginPage.js.map +1 -0
- package/dist/services/store/StoreOrderService.js +1 -1
- package/dist/services/store/StoreOrderService.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +260 -85
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +4 -4
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/stores/orders/EditOrderPage.tsx +1 -1
- package/src/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.tsx +7 -4
- package/src/common/pages/stores/payment-gateway/PaymentGatewayListPage.tsx +7 -6
- package/src/model/model.ts +100 -42
- package/src/public/store/StoreApp.tsx +30 -0
- package/src/public/store/StoreItemDetailView.tsx +0 -3
- package/src/public/store/commands/StoreCommands.ts +13 -1
- package/src/public/store/pages/StoreProductDetailPage.tsx +354 -0
- package/src/public/store/pages/StoreProductListPage.tsx +344 -0
- package/src/public/user/WebSiteUserService.ts +3 -6
- package/src/public/user/pages/SiteLoginPage.tsx +202 -0
- package/src/services/store/StoreOrderService.ts +3 -3
package/package.json
CHANGED
|
@@ -137,7 +137,7 @@ export default class EditOrderPage extends ContentPage<Partial<IStoreJournal>> {
|
|
|
137
137
|
<th title="Balance when entry was posted">Posted Balance</th>
|
|
138
138
|
</tr>
|
|
139
139
|
{ ... (this.model.entries ?? []).map((x: IStoreJournalEntry) => <tr>
|
|
140
|
-
<td>{x.
|
|
140
|
+
<td>{x.storeAccount.name}</td>
|
|
141
141
|
<td>{x.debit}</td>
|
|
142
142
|
<td>{x.credit}</td>
|
|
143
143
|
<td title="Balance when posted">{x.balance}</td>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContentPage } from "@web-atoms/web-controls/dist/mobile-app/MobileApp";
|
|
2
|
-
import {
|
|
2
|
+
import { IStoreAccount, StoreAccountPaymentGatewayArray } from "../../../../model/model";
|
|
3
3
|
import XNode from "@web-atoms/core/dist/core/XNode";
|
|
4
4
|
import Form from "@web-atoms/web-controls/dist/basic/Form";
|
|
5
5
|
import FormField from "@web-atoms/web-controls/dist/basic/FormField";
|
|
@@ -10,9 +10,9 @@ import Action from "@web-atoms/core/dist/view-model/Action";
|
|
|
10
10
|
import InjectProperty from "@web-atoms/core/dist/core/InjectProperty";
|
|
11
11
|
import EntityService from "../../../../services/EntityService";
|
|
12
12
|
|
|
13
|
-
export default class PaymentGatewayEditorPage extends ContentPage<
|
|
13
|
+
export default class PaymentGatewayEditorPage extends ContentPage<IStoreAccount> {
|
|
14
14
|
|
|
15
|
-
model:
|
|
15
|
+
model: IStoreAccount;
|
|
16
16
|
|
|
17
17
|
@InjectProperty
|
|
18
18
|
entityService: EntityService;
|
|
@@ -27,7 +27,7 @@ export default class PaymentGatewayEditorPage extends ContentPage<IStoreLedger>
|
|
|
27
27
|
<Form>
|
|
28
28
|
<FormField label="Type">
|
|
29
29
|
<Select
|
|
30
|
-
items={
|
|
30
|
+
items={StoreAccountPaymentGatewayArray}
|
|
31
31
|
value={Bind.twoWaysImmediate(() => this.model.paymentGateway)}
|
|
32
32
|
/>
|
|
33
33
|
</FormField>
|
|
@@ -46,6 +46,9 @@ export default class PaymentGatewayEditorPage extends ContentPage<IStoreLedger>
|
|
|
46
46
|
<FormField label="Password/Secret/Key">
|
|
47
47
|
<input value={Bind.twoWaysImmediate(() => this.model.password)}/>
|
|
48
48
|
</FormField>
|
|
49
|
+
<FormField label="Url">
|
|
50
|
+
<input value={Bind.twoWaysImmediate(() => this.model.url)}/>
|
|
51
|
+
</FormField>
|
|
49
52
|
<div data-layout="sticky-command-row">
|
|
50
53
|
<SaveIconTextButton data-submit-event="submitForm" />
|
|
51
54
|
</div>
|
|
@@ -5,7 +5,7 @@ import AtomRepeater from "@web-atoms/web-controls/dist/basic/AtomRepeater";
|
|
|
5
5
|
import MasterDetailPage from "@web-atoms/web-controls/dist/mobile-app/MasterDetailPage";
|
|
6
6
|
import EntityService from "../../../../services/EntityService";
|
|
7
7
|
import InfiniteRepeater from "../../../controls/repeater/InfiniteRepeater";
|
|
8
|
-
import {
|
|
8
|
+
import { IStoreAccount, StoreAccount } from "../../../../model/model";
|
|
9
9
|
import Bind from "@web-atoms/core/dist/core/Bind";
|
|
10
10
|
import { Sql } from "../../../Sql";
|
|
11
11
|
import Action from "@web-atoms/core/dist/view-model/Action";
|
|
@@ -22,7 +22,7 @@ export default class PaymentGatewayListPage extends MasterDetailPage {
|
|
|
22
22
|
|
|
23
23
|
search: string = "";
|
|
24
24
|
|
|
25
|
-
items:
|
|
25
|
+
items: IStoreAccount[] = [];
|
|
26
26
|
|
|
27
27
|
repeater: AtomRepeater;
|
|
28
28
|
|
|
@@ -35,13 +35,14 @@ export default class PaymentGatewayListPage extends MasterDetailPage {
|
|
|
35
35
|
this.renderer = <div>
|
|
36
36
|
<AtomRepeater
|
|
37
37
|
data-layout="data-grid"
|
|
38
|
+
selectOnClick={true}
|
|
38
39
|
data-selection-updated-event="itemSelected"
|
|
39
40
|
data-items-updated-event="itemsLoaded"
|
|
40
41
|
presenter={Bind.presenter((c) => this.repeater = c)}
|
|
41
42
|
items={this.items}
|
|
42
43
|
{ ... InfiniteRepeater.pagedItems((start) => (c, e, cancelToken) => this.load({ start, search: this.search, cancelToken }))}
|
|
43
|
-
itemRenderer={(x:
|
|
44
|
-
<label text={x.
|
|
44
|
+
itemRenderer={(x: IStoreAccount) => <div>
|
|
45
|
+
<label text={x.accessID}/>
|
|
45
46
|
<label text={x.paymentGateway}/>
|
|
46
47
|
<label text={x.name}/>
|
|
47
48
|
</div>}
|
|
@@ -55,7 +56,7 @@ export default class PaymentGatewayListPage extends MasterDetailPage {
|
|
|
55
56
|
|
|
56
57
|
load( { start, cancelToken, search } ) {
|
|
57
58
|
const { storeID } = this.parameters;
|
|
58
|
-
let q = this.entityService.query(
|
|
59
|
+
let q = this.entityService.query(StoreAccount)
|
|
59
60
|
.where({ storeID }, (p) => (x) => x.storeID === p.storeID && x.paymentGateway !== null);
|
|
60
61
|
if (search) {
|
|
61
62
|
q = q.where({ search }, (p) => (x) => Sql.text.iLike(x.description, p.search));
|
|
@@ -83,7 +84,7 @@ export default class PaymentGatewayListPage extends MasterDetailPage {
|
|
|
83
84
|
@Action({ onEvent: "addItem"})
|
|
84
85
|
addItem() {
|
|
85
86
|
const { storeID } = this.parameters;
|
|
86
|
-
const item =
|
|
87
|
+
const item = StoreAccount.create({
|
|
87
88
|
storeID,
|
|
88
89
|
head: "Income"
|
|
89
90
|
});
|
package/src/model/model.ts
CHANGED
|
@@ -220,18 +220,13 @@ export interface IContact extends IClrEntity {
|
|
|
220
220
|
phones?: ICollection<IContactPhone>;
|
|
221
221
|
items?: ICollection<IContactItem>;
|
|
222
222
|
domains?: ICollection<IContactDomain>;
|
|
223
|
-
vendorItems?: ICollection<IStoreItem>;
|
|
224
|
-
soldInvoices?: ICollection<IStoreJournal>;
|
|
225
|
-
boughtInvoices?: ICollection<IStoreJournal>;
|
|
226
|
-
ledgers?: ICollection<IStoreLedger>;
|
|
227
|
-
soldItems?: ICollection<IStoreJournalLineItem>;
|
|
228
223
|
}
|
|
229
224
|
|
|
230
225
|
export const Contact: IModel<IContact,any,any> = new Model<IContact>(
|
|
231
226
|
"Contact",
|
|
232
227
|
["contactID"],
|
|
233
228
|
{ name: "",type: "",dateCreated: new DefaultFactory(() => new DateTime()),dateUpdated: new DefaultFactory(() => new DateTime()) },
|
|
234
|
-
{"name":"contacts","keys":[{"name":"contactID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"externalID","type":"string","dataType":"Char","length":400,"default":["externalID","\"\""]},{"name":"userID","type":"number","dataType":"BigInt"},{"name":"mailboxID","type":"number","dataType":"BigInt"},{"name":"domainID","type":"number","dataType":"BigInt"},{"name":"name","type":"string","dataType":"Char","length":200,"default":["name","\"\""]},{"name":"description","type":"string","dataType":"Char","length":200,"default":["description","\"\""]},{"name":"companyID","type":"string","dataType":"Char","length":200,"default":["companyID","\"\""]},{"name":"salesTaxID","type":"string","dataType":"Char","length":200,"default":["salesTaxID","\"\""]},{"name":"gstTaxID","type":"string","dataType":"Char","length":200,"default":["gstTaxID","\"\""]},{"name":"vatTaxID","type":"string","dataType":"Char","length":200,"default":["vatTaxID","\"\""]},{"name":"incomeTaxID","type":"string","dataType":"Char","length":200,"default":["incomeTaxID","\"\""]},{"name":"type","type":"string","dataType":"Char","length":50,"default":["type","\"\""]},{"name":"synchronization","type":"string","dataType":"Char","default":["synchronization","\"\""]},{"name":"dateCreated","type":"DateTime","dataType":"DateTimeOffset","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTimeOffset","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"previewID","type":"number","dataType":"BigInt"},{"name":"billingAddressID","type":"number","dataType":"BigInt"},{"name":"shippingAddressID","type":"number","dataType":"BigInt"}],"relations":[{"name":"user","fkMap":[{"fk":"userID","relatedKey":"userID"}],"relatedName":"User"},{"name":"mailbox","fkMap":[{"fk":"mailboxID","relatedKey":"mailboxID"}],"relatedName":"Mailbox"},{"name":"hostedDomain","fkMap":[{"fk":"domainID","relatedKey":"domainID"}],"relatedName":"HostedDomain"},{"name":"preview","fkMap":[{"fk":"previewID","relatedKey":"appFileID"}],"relatedName":"AppFile"},{"name":"billingAddress","fkMap":[{"fk":"billingAddressID","relatedKey":"addressID"}],"relatedName":"ContactAddress"},{"name":"addresses","isCollection":true,"isInverse":true,"relatedName":"ContactAddress"},{"name":"shippingAddress","fkMap":[{"fk":"shippingAddressID","relatedKey":"addressID"}],"relatedName":"ContactAddress"},{"name":"emails","isCollection":true,"isInverse":true,"relatedName":"ContactEmail"},{"name":"phones","isCollection":true,"isInverse":true,"relatedName":"ContactPhone"},{"name":"items","isCollection":true,"isInverse":true,"relatedName":"ContactItem"},{"name":"domains","isCollection":true,"isInverse":true,"relatedName":"ContactDomain"}
|
|
229
|
+
{"name":"contacts","keys":[{"name":"contactID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"externalID","type":"string","dataType":"Char","length":400,"default":["externalID","\"\""]},{"name":"userID","type":"number","dataType":"BigInt"},{"name":"mailboxID","type":"number","dataType":"BigInt"},{"name":"domainID","type":"number","dataType":"BigInt"},{"name":"name","type":"string","dataType":"Char","length":200,"default":["name","\"\""]},{"name":"description","type":"string","dataType":"Char","length":200,"default":["description","\"\""]},{"name":"companyID","type":"string","dataType":"Char","length":200,"default":["companyID","\"\""]},{"name":"salesTaxID","type":"string","dataType":"Char","length":200,"default":["salesTaxID","\"\""]},{"name":"gstTaxID","type":"string","dataType":"Char","length":200,"default":["gstTaxID","\"\""]},{"name":"vatTaxID","type":"string","dataType":"Char","length":200,"default":["vatTaxID","\"\""]},{"name":"incomeTaxID","type":"string","dataType":"Char","length":200,"default":["incomeTaxID","\"\""]},{"name":"type","type":"string","dataType":"Char","length":50,"default":["type","\"\""]},{"name":"synchronization","type":"string","dataType":"Char","default":["synchronization","\"\""]},{"name":"dateCreated","type":"DateTime","dataType":"DateTimeOffset","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTimeOffset","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"previewID","type":"number","dataType":"BigInt"},{"name":"billingAddressID","type":"number","dataType":"BigInt"},{"name":"shippingAddressID","type":"number","dataType":"BigInt"}],"relations":[{"name":"user","fkMap":[{"fk":"userID","relatedKey":"userID"}],"relatedName":"User"},{"name":"mailbox","fkMap":[{"fk":"mailboxID","relatedKey":"mailboxID"}],"relatedName":"Mailbox"},{"name":"hostedDomain","fkMap":[{"fk":"domainID","relatedKey":"domainID"}],"relatedName":"HostedDomain"},{"name":"preview","fkMap":[{"fk":"previewID","relatedKey":"appFileID"}],"relatedName":"AppFile"},{"name":"billingAddress","fkMap":[{"fk":"billingAddressID","relatedKey":"addressID"}],"relatedName":"ContactAddress"},{"name":"addresses","isCollection":true,"isInverse":true,"relatedName":"ContactAddress"},{"name":"shippingAddress","fkMap":[{"fk":"shippingAddressID","relatedKey":"addressID"}],"relatedName":"ContactAddress"},{"name":"emails","isCollection":true,"isInverse":true,"relatedName":"ContactEmail"},{"name":"phones","isCollection":true,"isInverse":true,"relatedName":"ContactPhone"},{"name":"items","isCollection":true,"isInverse":true,"relatedName":"ContactItem"},{"name":"domains","isCollection":true,"isInverse":true,"relatedName":"ContactDomain"}]}
|
|
235
230
|
);
|
|
236
231
|
modelEntitySchemas["Contact"] = Contact;
|
|
237
232
|
|
|
@@ -318,15 +313,13 @@ export interface IContactAddress extends IClrEntity {
|
|
|
318
313
|
contact?: IContact;
|
|
319
314
|
billingContacts?: ICollection<IContact>;
|
|
320
315
|
shippingContacts?: ICollection<IContact>;
|
|
321
|
-
billedOrders?: ICollection<IStoreJournal>;
|
|
322
|
-
shippedOrders?: ICollection<IStoreJournal>;
|
|
323
316
|
}
|
|
324
317
|
|
|
325
318
|
export const ContactAddress: IModel<IContactAddress,any,any> = new Model<IContactAddress>(
|
|
326
319
|
"ContactAddress",
|
|
327
320
|
["addressID"],
|
|
328
321
|
{ title: "",line1: "" },
|
|
329
|
-
{"name":"contact_addresses","keys":[{"name":"addressID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"contactID","type":"number","dataType":"BigInt"},{"name":"title","type":"string","dataType":"Char","length":400,"default":["title","\"\""]},{"name":"line1","type":"string","dataType":"Char","length":400,"default":["line1","\"\""]},{"name":"line2","type":"string","dataType":"Char","length":400,"default":["line2","\"\""]},{"name":"line3","type":"string","dataType":"Char","length":400,"default":["line3","\"\""]},{"name":"city","type":"string","dataType":"Char","length":50,"default":["city","\"\""]},{"name":"state","type":"string","dataType":"Char","length":50,"default":["state","\"\""]},{"name":"countryCode","type":"string","dataType":"Char","length":5,"default":["countryCode","\"\""]},{"name":"phoneNumber","type":"string","dataType":"Char","length":5,"default":["phoneNumber","\"\""]},{"name":"notes","type":"string","dataType":"Char","length":5,"default":["notes","\"\""]}],"relations":[{"name":"contact","fkMap":[{"fk":"contactID","relatedKey":"contactID"}],"relatedName":"Contact"},{"name":"billingContacts","isCollection":true,"isInverse":true,"relatedName":"Contact"},{"name":"shippingContacts","isCollection":true,"isInverse":true,"relatedName":"Contact"}
|
|
322
|
+
{"name":"contact_addresses","keys":[{"name":"addressID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"contactID","type":"number","dataType":"BigInt"},{"name":"title","type":"string","dataType":"Char","length":400,"default":["title","\"\""]},{"name":"line1","type":"string","dataType":"Char","length":400,"default":["line1","\"\""]},{"name":"line2","type":"string","dataType":"Char","length":400,"default":["line2","\"\""]},{"name":"line3","type":"string","dataType":"Char","length":400,"default":["line3","\"\""]},{"name":"city","type":"string","dataType":"Char","length":50,"default":["city","\"\""]},{"name":"state","type":"string","dataType":"Char","length":50,"default":["state","\"\""]},{"name":"countryCode","type":"string","dataType":"Char","length":5,"default":["countryCode","\"\""]},{"name":"phoneNumber","type":"string","dataType":"Char","length":5,"default":["phoneNumber","\"\""]},{"name":"notes","type":"string","dataType":"Char","length":5,"default":["notes","\"\""]}],"relations":[{"name":"contact","fkMap":[{"fk":"contactID","relatedKey":"contactID"}],"relatedName":"Contact"},{"name":"billingContacts","isCollection":true,"isInverse":true,"relatedName":"Contact"},{"name":"shippingContacts","isCollection":true,"isInverse":true,"relatedName":"Contact"}]}
|
|
330
323
|
);
|
|
331
324
|
modelEntitySchemas["ContactAddress"] = ContactAddress;
|
|
332
325
|
|
|
@@ -676,6 +669,7 @@ export interface IEmailAddress extends IClrEntity {
|
|
|
676
669
|
recipients?: ICollection<IEmailRecipient>;
|
|
677
670
|
threads?: ICollection<IMailboxContact>;
|
|
678
671
|
subscriberActivities?: ICollection<ISubscriberActivity>;
|
|
672
|
+
storeAccounts?: ICollection<IStoreAccountEmail>;
|
|
679
673
|
names?: ICollection<IEmailAddressName>;
|
|
680
674
|
}
|
|
681
675
|
|
|
@@ -683,7 +677,7 @@ export const EmailAddress: IModel<IEmailAddress,any,any> = new Model<IEmailAddre
|
|
|
683
677
|
"EmailAddress",
|
|
684
678
|
["emailAddressID"],
|
|
685
679
|
{ emailAddress: "",name: "",blocked: false },
|
|
686
|
-
{"name":"email_addresses","keys":[{"name":"emailAddressID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"emailAddress","type":"string","dataType":"Char","length":400,"default":["emailAddress","\"\""]},{"name":"domainID","type":"number","dataType":"BigInt"},{"name":"name","type":"string","dataType":"Char","length":400,"default":["name","\"\""]},{"name":"blocked","type":"boolean","dataType":"Boolean","default":["blocked","false"]}],"relations":[{"name":"domain","fkMap":[{"fk":"domainID","relatedKey":"domainID"}],"relatedName":"Domain"},{"name":"senders","isCollection":true,"isInverse":true,"relatedName":"Email"},{"name":"mailbox","isCollection":false,"isInverse":true,"relatedName":"Mailbox"},{"name":"contactEmails","isCollection":true,"isInverse":true,"relatedName":"ContactEmail"},{"name":"recipients","isCollection":true,"isInverse":true,"relatedName":"EmailRecipient"},{"name":"threads","isCollection":true,"isInverse":true,"relatedName":"MailboxContact"},{"name":"subscriberActivities","isCollection":true,"isInverse":true,"relatedName":"SubscriberActivity"},{"name":"names","isCollection":true,"isInverse":true,"relatedName":"EmailAddressName"}]}
|
|
680
|
+
{"name":"email_addresses","keys":[{"name":"emailAddressID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"emailAddress","type":"string","dataType":"Char","length":400,"default":["emailAddress","\"\""]},{"name":"domainID","type":"number","dataType":"BigInt"},{"name":"name","type":"string","dataType":"Char","length":400,"default":["name","\"\""]},{"name":"blocked","type":"boolean","dataType":"Boolean","default":["blocked","false"]}],"relations":[{"name":"domain","fkMap":[{"fk":"domainID","relatedKey":"domainID"}],"relatedName":"Domain"},{"name":"senders","isCollection":true,"isInverse":true,"relatedName":"Email"},{"name":"mailbox","isCollection":false,"isInverse":true,"relatedName":"Mailbox"},{"name":"contactEmails","isCollection":true,"isInverse":true,"relatedName":"ContactEmail"},{"name":"recipients","isCollection":true,"isInverse":true,"relatedName":"EmailRecipient"},{"name":"threads","isCollection":true,"isInverse":true,"relatedName":"MailboxContact"},{"name":"subscriberActivities","isCollection":true,"isInverse":true,"relatedName":"SubscriberActivity"},{"name":"storeAccounts","isCollection":true,"isInverse":true,"relatedName":"StoreAccountEmail"},{"name":"names","isCollection":true,"isInverse":true,"relatedName":"EmailAddressName"}]}
|
|
687
681
|
);
|
|
688
682
|
modelEntitySchemas["EmailAddress"] = EmailAddress;
|
|
689
683
|
|
|
@@ -1117,9 +1111,9 @@ export interface IStoreItem extends IClrEntity {
|
|
|
1117
1111
|
sizes?: ICollection<IStoreItem>;
|
|
1118
1112
|
variantFor?: IStoreItem;
|
|
1119
1113
|
variants?: ICollection<IStoreItem>;
|
|
1120
|
-
vendor?:
|
|
1114
|
+
vendor?: IStoreAccount;
|
|
1115
|
+
storeAccounts?: ICollection<IStoreAccount>;
|
|
1121
1116
|
storeItemPrices?: ICollection<IStoreItemPrice>;
|
|
1122
|
-
ledgers?: ICollection<IStoreLedger>;
|
|
1123
1117
|
mediaFiles?: ICollection<IStoreMediaFile>;
|
|
1124
1118
|
insights?: ICollection<IStoreInsight>;
|
|
1125
1119
|
lineItems?: ICollection<IStoreJournalLineItem>;
|
|
@@ -1134,7 +1128,7 @@ export const StoreItem: IModel<IStoreItem,{"storeQuery":"external"},any> = new M
|
|
|
1134
1128
|
"StoreItem",
|
|
1135
1129
|
["storeItemID"],
|
|
1136
1130
|
{ name: "",active: false,itemType: "product",dateCreated: new DefaultFactory(() => new DateTime()),dateUpdated: new DefaultFactory(() => new DateTime()),price: 0,maxPrice: 0 },
|
|
1137
|
-
{"name":"store_items","keys":[{"name":"storeItemID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"storeID","type":"number","dataType":"BigInt"},{"name":"itemFolderID","type":"number","dataType":"BigInt"},{"name":"name","type":"string","dataType":"Char","length":200,"default":["name","\"\""]},{"name":"active","type":"boolean","dataType":"Boolean","default":["active","false"]},{"name":"internalNotes","type":"string","dataType":"Char","default":["internalNotes","\"\""]},{"name":"description","type":"string","dataType":"Char","default":["description","\"\""]},{"name":"itemType","type":"string","dataType":"Char","length":20,"default":["itemType","\"product\""]},{"name":"folderID","type":"number","dataType":"BigInt"},{"name":"sizeForID","type":"number","dataType":"BigInt"},{"name":"variantForID","type":"number","dataType":"BigInt"},{"name":"dateCreated","type":"DateTime","dataType":"DateTime","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTime","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"vendorID","type":"number","dataType":"BigInt"},{"name":"price","type":"number","dataType":"Decimal","default":["price","0"]},{"name":"maxPrice","type":"number","dataType":"Decimal","default":["maxPrice","0"]}],"relations":[{"name":"store","fkMap":[{"fk":"storeID","relatedKey":"folderID"}],"relatedName":"WebSiteFolder"},{"name":"itemFolder","fkMap":[{"fk":"itemFolderID","relatedKey":"itemFolderID"}],"relatedName":"StoreItemFolder"},{"name":"fileFolder","fkMap":[{"fk":"folderID","relatedKey":"appFileID"}],"relatedName":"AppFile"},{"name":"sizeFor","fkMap":[{"fk":"sizeForID","relatedKey":"storeItemID"}],"relatedName":"StoreItem"},{"name":"sizes","isCollection":true,"isInverse":true,"relatedName":"StoreItem"},{"name":"variantFor","fkMap":[{"fk":"variantForID","relatedKey":"storeItemID"}],"relatedName":"StoreItem"},{"name":"variants","isCollection":true,"isInverse":true,"relatedName":"StoreItem"},{"name":"vendor","fkMap":[{"fk":"vendorID","relatedKey":"
|
|
1131
|
+
{"name":"store_items","keys":[{"name":"storeItemID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"storeID","type":"number","dataType":"BigInt"},{"name":"itemFolderID","type":"number","dataType":"BigInt"},{"name":"name","type":"string","dataType":"Char","length":200,"default":["name","\"\""]},{"name":"active","type":"boolean","dataType":"Boolean","default":["active","false"]},{"name":"internalNotes","type":"string","dataType":"Char","default":["internalNotes","\"\""]},{"name":"description","type":"string","dataType":"Char","default":["description","\"\""]},{"name":"itemType","type":"string","dataType":"Char","length":20,"default":["itemType","\"product\""]},{"name":"folderID","type":"number","dataType":"BigInt"},{"name":"sizeForID","type":"number","dataType":"BigInt"},{"name":"variantForID","type":"number","dataType":"BigInt"},{"name":"dateCreated","type":"DateTime","dataType":"DateTime","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTime","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"vendorID","type":"number","dataType":"BigInt"},{"name":"price","type":"number","dataType":"Decimal","default":["price","0"]},{"name":"maxPrice","type":"number","dataType":"Decimal","default":["maxPrice","0"]}],"relations":[{"name":"store","fkMap":[{"fk":"storeID","relatedKey":"folderID"}],"relatedName":"WebSiteFolder"},{"name":"itemFolder","fkMap":[{"fk":"itemFolderID","relatedKey":"itemFolderID"}],"relatedName":"StoreItemFolder"},{"name":"fileFolder","fkMap":[{"fk":"folderID","relatedKey":"appFileID"}],"relatedName":"AppFile"},{"name":"sizeFor","fkMap":[{"fk":"sizeForID","relatedKey":"storeItemID"}],"relatedName":"StoreItem"},{"name":"sizes","isCollection":true,"isInverse":true,"relatedName":"StoreItem"},{"name":"variantFor","fkMap":[{"fk":"variantForID","relatedKey":"storeItemID"}],"relatedName":"StoreItem"},{"name":"variants","isCollection":true,"isInverse":true,"relatedName":"StoreItem"},{"name":"vendor","fkMap":[{"fk":"vendorID","relatedKey":"accountID"}],"relatedName":"StoreAccount"},{"name":"storeAccounts","isCollection":true,"isInverse":true,"relatedName":"StoreAccount"},{"name":"storeItemPrices","isCollection":true,"isInverse":true,"relatedName":"StoreItemPrice"},{"name":"mediaFiles","isCollection":true,"isInverse":true,"relatedName":"StoreMediaFile"},{"name":"insights","isCollection":true,"isInverse":true,"relatedName":"StoreInsight"},{"name":"lineItems","isCollection":true,"isInverse":true,"relatedName":"StoreJournalLineItem"},{"name":"taxes","isCollection":true,"isInverse":true,"relatedName":"StoreItemTax"},{"name":"taxItems","isCollection":true,"isInverse":true,"relatedName":"StoreItemTax"},{"name":"storeItemTags","isCollection":true,"isInverse":true,"relatedName":"StoreItemTag"}],"queries":{"storeQuery":"external"}}
|
|
1138
1132
|
);
|
|
1139
1133
|
modelEntitySchemas["StoreItem"] = StoreItem;
|
|
1140
1134
|
|
|
@@ -1206,14 +1200,14 @@ export interface IStorePaymentAttempt extends IClrEntity {
|
|
|
1206
1200
|
dateUpdated?: DateTime;
|
|
1207
1201
|
success?: boolean;
|
|
1208
1202
|
order?: IStoreJournal;
|
|
1209
|
-
gateway?:
|
|
1203
|
+
gateway?: IStoreAccount;
|
|
1210
1204
|
}
|
|
1211
1205
|
|
|
1212
1206
|
export const StorePaymentAttempt: IModel<IStorePaymentAttempt,any,any> = new Model<IStorePaymentAttempt>(
|
|
1213
1207
|
"StorePaymentAttempt",
|
|
1214
1208
|
["attemptID"],
|
|
1215
1209
|
{ dateCreated: new DefaultFactory(() => new DateTime()),dateUpdated: new DefaultFactory(() => new DateTime()),success: false },
|
|
1216
|
-
{"name":"store_payment_attempt","keys":[{"name":"attemptID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"orderID","type":"number","dataType":"BigInt"},{"name":"gatewayID","type":"number","dataType":"BigInt"},{"name":"dateCreated","type":"DateTime","dataType":"DateTime","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTime","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"success","type":"boolean","dataType":"Boolean","default":["success","false"]}],"relations":[{"name":"order","fkMap":[{"fk":"orderID","relatedKey":"journalID"}],"relatedName":"StoreJournal"},{"name":"gateway","fkMap":[{"fk":"gatewayID","relatedKey":"
|
|
1210
|
+
{"name":"store_payment_attempt","keys":[{"name":"attemptID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"orderID","type":"number","dataType":"BigInt"},{"name":"gatewayID","type":"number","dataType":"BigInt"},{"name":"dateCreated","type":"DateTime","dataType":"DateTime","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTime","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"success","type":"boolean","dataType":"Boolean","default":["success","false"]}],"relations":[{"name":"order","fkMap":[{"fk":"orderID","relatedKey":"journalID"}],"relatedName":"StoreJournal"},{"name":"gateway","fkMap":[{"fk":"gatewayID","relatedKey":"accountID"}],"relatedName":"StoreAccount"}]}
|
|
1217
1211
|
);
|
|
1218
1212
|
modelEntitySchemas["StorePaymentAttempt"] = StorePaymentAttempt;
|
|
1219
1213
|
|
|
@@ -1260,12 +1254,12 @@ export const StoreInsight: IModel<IStoreInsight,any,any> = new Model<IStoreInsig
|
|
|
1260
1254
|
);
|
|
1261
1255
|
modelEntitySchemas["StoreInsight"] = StoreInsight;
|
|
1262
1256
|
|
|
1263
|
-
export interface
|
|
1264
|
-
readonly
|
|
1257
|
+
export interface IStoreAccount extends IClrEntity {
|
|
1258
|
+
readonly accountID?: number;
|
|
1265
1259
|
path?: string | null;
|
|
1266
1260
|
storeID?: number;
|
|
1267
1261
|
parentID?: number | null;
|
|
1268
|
-
|
|
1262
|
+
customerID?: number | null;
|
|
1269
1263
|
itemID?: number | null;
|
|
1270
1264
|
head?: string | null;
|
|
1271
1265
|
ledgerType?: string;
|
|
@@ -1285,23 +1279,86 @@ export interface IStoreLedger extends IClrEntity {
|
|
|
1285
1279
|
password?: string;
|
|
1286
1280
|
secret?: string;
|
|
1287
1281
|
store?: IWebSiteFolder;
|
|
1288
|
-
parent?:
|
|
1289
|
-
children?: ICollection<
|
|
1290
|
-
|
|
1282
|
+
parent?: IStoreAccount;
|
|
1283
|
+
children?: ICollection<IStoreAccount>;
|
|
1284
|
+
customer?: IUser;
|
|
1291
1285
|
item?: IStoreItem;
|
|
1286
|
+
vendorItems?: ICollection<IStoreItem>;
|
|
1287
|
+
soldInvoices?: ICollection<IStoreJournal>;
|
|
1288
|
+
boughtInvoices?: ICollection<IStoreJournal>;
|
|
1289
|
+
addresses?: ICollection<IStoreAccountAddress>;
|
|
1292
1290
|
paymentAttempts?: ICollection<IStorePaymentAttempt>;
|
|
1291
|
+
emails?: ICollection<IStoreAccountEmail>;
|
|
1292
|
+
phones?: ICollection<IStoreAccountPhone>;
|
|
1293
1293
|
entries?: ICollection<IStoreJournalEntry>;
|
|
1294
|
+
soldItems?: ICollection<IStoreJournalLineItem>;
|
|
1294
1295
|
}
|
|
1295
1296
|
|
|
1296
|
-
export const
|
|
1297
|
+
export const StoreAccountPaymentGatewayArray = [{"label":"paypal","value":"paypal"},{"label":"phone-pe","value":"phone-pe"}];
|
|
1297
1298
|
|
|
1298
|
-
export const
|
|
1299
|
-
"
|
|
1300
|
-
["
|
|
1299
|
+
export const StoreAccount: IModel<IStoreAccount,any,any> = new Model<IStoreAccount>(
|
|
1300
|
+
"StoreAccount",
|
|
1301
|
+
["accountID"],
|
|
1301
1302
|
{ ledgerType: "",name: "",balance: 0,isGatewayActive: false,isDefault: false },
|
|
1302
|
-
{"name":"
|
|
1303
|
+
{"name":"store_accounts","keys":[{"name":"accountID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"path","type":"string","dataType":"Char","length":400,"default":["path","\"\""]},{"name":"storeID","type":"number","dataType":"BigInt"},{"name":"parentID","type":"number","dataType":"BigInt"},{"name":"customerID","type":"number","dataType":"BigInt"},{"name":"itemID","type":"number","dataType":"BigInt"},{"name":"head","type":"string","dataType":"Char","length":50,"default":["head","\"\""]},{"name":"ledgerType","type":"string","dataType":"Char","length":50,"default":["ledgerType","\"\""]},{"name":"name","type":"string","dataType":"Char","length":400,"default":["name","\"\""]},{"name":"description","type":"string","dataType":"Char","default":["description","\"\""]},{"name":"balance","type":"number","dataType":"Decimal","default":["balance","0"]},{"name":"paymentGateway","type":"string","dataType":"Char","length":50,"default":["paymentGateway","\"paypal\""]},{"name":"isGatewayActive","type":"boolean","dataType":"Boolean","default":["isGatewayActive","false"]},{"name":"merchantID","type":"string","dataType":"Char","length":400,"default":["merchantID","\"\""]},{"name":"url","type":"string","dataType":"Char","default":["url","\"\""]},{"name":"username","type":"string","dataType":"Char","default":["username","\"\""]},{"name":"encryptedPassword","type":"string","dataType":"Char","default":["encryptedPassword","\"\""]},{"name":"accessID","type":"string","dataType":"Char","default":["accessID","\"\""]},{"name":"encryptedSecret","type":"string","dataType":"Char","default":["encryptedSecret","\"\""]},{"name":"country","type":"string","dataType":"Char","length":20,"default":["country","\"\""]},{"name":"isDefault","type":"boolean","dataType":"Boolean","default":["isDefault","false"]}],"relations":[{"name":"store","fkMap":[{"fk":"storeID","relatedKey":"folderID"}],"relatedName":"WebSiteFolder"},{"name":"parent","fkMap":[{"fk":"parentID","relatedKey":"accountID"}],"relatedName":"StoreAccount"},{"name":"children","isCollection":true,"isInverse":true,"relatedName":"StoreAccount"},{"name":"customer","fkMap":[{"fk":"customerID","relatedKey":"userID"}],"relatedName":"User"},{"name":"item","fkMap":[{"fk":"itemID","relatedKey":"storeItemID"}],"relatedName":"StoreItem"},{"name":"vendorItems","isCollection":true,"isInverse":true,"relatedName":"StoreItem"},{"name":"soldInvoices","isCollection":true,"isInverse":true,"relatedName":"StoreJournal"},{"name":"boughtInvoices","isCollection":true,"isInverse":true,"relatedName":"StoreJournal"},{"name":"addresses","isCollection":true,"isInverse":true,"relatedName":"StoreAccountAddress"},{"name":"paymentAttempts","isCollection":true,"isInverse":true,"relatedName":"StorePaymentAttempt"},{"name":"emails","isCollection":true,"isInverse":true,"relatedName":"StoreAccountEmail"},{"name":"phones","isCollection":true,"isInverse":true,"relatedName":"StoreAccountPhone"},{"name":"entries","isCollection":true,"isInverse":true,"relatedName":"StoreJournalEntry"},{"name":"soldItems","isCollection":true,"isInverse":true,"relatedName":"StoreJournalLineItem"}]}
|
|
1304
|
+
);
|
|
1305
|
+
modelEntitySchemas["StoreAccount"] = StoreAccount;
|
|
1306
|
+
|
|
1307
|
+
export interface IStoreAccountAddress extends IClrEntity {
|
|
1308
|
+
readonly addressID?: number;
|
|
1309
|
+
accountID?: number;
|
|
1310
|
+
title?: string;
|
|
1311
|
+
line1?: string;
|
|
1312
|
+
line2?: string | null;
|
|
1313
|
+
line3?: string | null;
|
|
1314
|
+
city?: string | null;
|
|
1315
|
+
state?: string | null;
|
|
1316
|
+
countryCode?: string | null;
|
|
1317
|
+
phoneNumber?: string | null;
|
|
1318
|
+
notes?: string | null;
|
|
1319
|
+
storeAccount?: IStoreAccount;
|
|
1320
|
+
billedOrders?: ICollection<IStoreJournal>;
|
|
1321
|
+
shippedOrders?: ICollection<IStoreJournal>;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
export const StoreAccountAddress: IModel<IStoreAccountAddress,any,any> = new Model<IStoreAccountAddress>(
|
|
1325
|
+
"StoreAccountAddress",
|
|
1326
|
+
["addressID"],
|
|
1327
|
+
{ title: "",line1: "" },
|
|
1328
|
+
{"name":"store_account_addresses","keys":[{"name":"addressID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"accountID","type":"number","dataType":"BigInt"},{"name":"title","type":"string","dataType":"Char","length":400,"default":["title","\"\""]},{"name":"line1","type":"string","dataType":"Char","length":400,"default":["line1","\"\""]},{"name":"line2","type":"string","dataType":"Char","length":400,"default":["line2","\"\""]},{"name":"line3","type":"string","dataType":"Char","length":400,"default":["line3","\"\""]},{"name":"city","type":"string","dataType":"Char","length":50,"default":["city","\"\""]},{"name":"state","type":"string","dataType":"Char","length":50,"default":["state","\"\""]},{"name":"countryCode","type":"string","dataType":"Char","length":5,"default":["countryCode","\"\""]},{"name":"phoneNumber","type":"string","dataType":"Char","length":5,"default":["phoneNumber","\"\""]},{"name":"notes","type":"string","dataType":"Char","length":5,"default":["notes","\"\""]}],"relations":[{"name":"storeAccount","fkMap":[{"fk":"accountID","relatedKey":"accountID"}],"relatedName":"StoreAccount"},{"name":"billedOrders","isCollection":true,"isInverse":true,"relatedName":"StoreJournal"},{"name":"shippedOrders","isCollection":true,"isInverse":true,"relatedName":"StoreJournal"}]}
|
|
1329
|
+
);
|
|
1330
|
+
modelEntitySchemas["StoreAccountAddress"] = StoreAccountAddress;
|
|
1331
|
+
|
|
1332
|
+
export interface IStoreAccountEmail extends IClrEntity {
|
|
1333
|
+
accountID?: number;
|
|
1334
|
+
emailAddressID?: number;
|
|
1335
|
+
storeAccount?: IStoreAccount;
|
|
1336
|
+
emailAddress?: IEmailAddress;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
export const StoreAccountEmail: IModel<IStoreAccountEmail,any,any> = new Model<IStoreAccountEmail>(
|
|
1340
|
+
"StoreAccountEmail",
|
|
1341
|
+
["accountID","emailAddressID"],
|
|
1342
|
+
{ },
|
|
1343
|
+
{"name":"store_account_emails","keys":[{"name":"accountID","type":"number","dataType":"BigInt"},{"name":"emailAddressID","type":"number","dataType":"BigInt"}],"properties":[],"relations":[{"name":"storeAccount","fkMap":[{"fk":"accountID","relatedKey":"accountID"}],"relatedName":"StoreAccount"},{"name":"emailAddress","fkMap":[{"fk":"emailAddressID","relatedKey":"emailAddressID"}],"relatedName":"EmailAddress"}]}
|
|
1303
1344
|
);
|
|
1304
|
-
modelEntitySchemas["
|
|
1345
|
+
modelEntitySchemas["StoreAccountEmail"] = StoreAccountEmail;
|
|
1346
|
+
|
|
1347
|
+
export interface IStoreAccountPhone extends IClrEntity {
|
|
1348
|
+
accountID?: number;
|
|
1349
|
+
phoneNumberE64?: string;
|
|
1350
|
+
type?: string | null;
|
|
1351
|
+
notes?: string | null;
|
|
1352
|
+
storeAccount?: IStoreAccount;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
export const StoreAccountPhone: IModel<IStoreAccountPhone,any,any> = new Model<IStoreAccountPhone>(
|
|
1356
|
+
"StoreAccountPhone",
|
|
1357
|
+
["accountID","phoneNumberE64"],
|
|
1358
|
+
{ },
|
|
1359
|
+
{"name":"store_account_phone","keys":[{"name":"accountID","type":"number","dataType":"BigInt"},{"name":"phoneNumberE64","type":"string","dataType":"Char","length":200}],"properties":[{"name":"type","type":"string","dataType":"Char","length":50,"default":["type","\"\""]},{"name":"notes","type":"string","dataType":"Char","default":["notes","\"\""]}],"relations":[{"name":"storeAccount","fkMap":[{"fk":"accountID","relatedKey":"accountID"}],"relatedName":"StoreAccount"}]}
|
|
1360
|
+
);
|
|
1361
|
+
modelEntitySchemas["StoreAccountPhone"] = StoreAccountPhone;
|
|
1305
1362
|
|
|
1306
1363
|
export interface IStoreJournal extends IClrEntity {
|
|
1307
1364
|
readonly journalID?: number;
|
|
@@ -1324,10 +1381,10 @@ export interface IStoreJournal extends IClrEntity {
|
|
|
1324
1381
|
taxExemptNotes?: string | null;
|
|
1325
1382
|
taxExemptTaxID?: string | null;
|
|
1326
1383
|
store?: IWebSiteFolder;
|
|
1327
|
-
seller?:
|
|
1328
|
-
buyer?:
|
|
1329
|
-
buyerBillingAddress?:
|
|
1330
|
-
buyerShippingAddress?:
|
|
1384
|
+
seller?: IStoreAccount;
|
|
1385
|
+
buyer?: IStoreAccount;
|
|
1386
|
+
buyerBillingAddress?: IStoreAccountAddress;
|
|
1387
|
+
buyerShippingAddress?: IStoreAccountAddress;
|
|
1331
1388
|
reference?: IStoreJournal;
|
|
1332
1389
|
references?: ICollection<IStoreJournal>;
|
|
1333
1390
|
folder?: IAppFile;
|
|
@@ -1342,21 +1399,21 @@ export const StoreJournal: IModel<IStoreJournal,any,any> = new Model<IStoreJourn
|
|
|
1342
1399
|
"StoreJournal",
|
|
1343
1400
|
["journalID"],
|
|
1344
1401
|
{ dateCreated: new DefaultFactory(() => new DateTime()),dateUpdated: new DefaultFactory(() => new DateTime()),journalType: "order",posted: false,status: "",total: 0,balance: 0,taxExempt: false },
|
|
1345
|
-
{"name":"store_journals","keys":[{"name":"journalID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"storeID","type":"number","dataType":"BigInt"},{"name":"dateCreated","type":"DateTime","dataType":"DateTime","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTime","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"journalType","type":"string","dataType":"AsciiChar","length":50,"default":["journalType","\"order\""]},{"name":"description","type":"string","dataType":"Char","default":["description","\"\""]},{"name":"posted","type":"boolean","dataType":"Boolean","default":["posted","false"]},{"name":"status","type":"string","dataType":"Char","length":50,"default":["status","\"\""]},{"name":"sellerID","type":"number","dataType":"BigInt"},{"name":"buyerID","type":"number","dataType":"BigInt"},{"name":"buyerBillingAddressID","type":"number","dataType":"BigInt"},{"name":"buyerShippingAddressID","type":"number","dataType":"BigInt"},{"name":"total","type":"number","dataType":"Decimal","default":["total","0"]},{"name":"balance","type":"number","dataType":"Decimal","default":["balance","0"]},{"name":"referenceID","type":"number","dataType":"BigInt"},{"name":"folderID","type":"number","dataType":"BigInt"},{"name":"taxExempt","type":"boolean","dataType":"Boolean","default":["taxExempt","false"]},{"name":"taxExemptNotes","type":"string","dataType":"Char","default":["taxExemptNotes","\"\""]},{"name":"taxExemptTaxID","type":"string","dataType":"Char","default":["taxExemptTaxID","\"\""]}],"relations":[{"name":"store","fkMap":[{"fk":"storeID","relatedKey":"folderID"}],"relatedName":"WebSiteFolder"},{"name":"seller","fkMap":[{"fk":"sellerID","relatedKey":"
|
|
1402
|
+
{"name":"store_journals","keys":[{"name":"journalID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"storeID","type":"number","dataType":"BigInt"},{"name":"dateCreated","type":"DateTime","dataType":"DateTime","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTime","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"journalType","type":"string","dataType":"AsciiChar","length":50,"default":["journalType","\"order\""]},{"name":"description","type":"string","dataType":"Char","default":["description","\"\""]},{"name":"posted","type":"boolean","dataType":"Boolean","default":["posted","false"]},{"name":"status","type":"string","dataType":"Char","length":50,"default":["status","\"\""]},{"name":"sellerID","type":"number","dataType":"BigInt"},{"name":"buyerID","type":"number","dataType":"BigInt"},{"name":"buyerBillingAddressID","type":"number","dataType":"BigInt"},{"name":"buyerShippingAddressID","type":"number","dataType":"BigInt"},{"name":"total","type":"number","dataType":"Decimal","default":["total","0"]},{"name":"balance","type":"number","dataType":"Decimal","default":["balance","0"]},{"name":"referenceID","type":"number","dataType":"BigInt"},{"name":"folderID","type":"number","dataType":"BigInt"},{"name":"taxExempt","type":"boolean","dataType":"Boolean","default":["taxExempt","false"]},{"name":"taxExemptNotes","type":"string","dataType":"Char","default":["taxExemptNotes","\"\""]},{"name":"taxExemptTaxID","type":"string","dataType":"Char","default":["taxExemptTaxID","\"\""]}],"relations":[{"name":"store","fkMap":[{"fk":"storeID","relatedKey":"folderID"}],"relatedName":"WebSiteFolder"},{"name":"seller","fkMap":[{"fk":"sellerID","relatedKey":"accountID"}],"relatedName":"StoreAccount"},{"name":"buyer","fkMap":[{"fk":"buyerID","relatedKey":"accountID"}],"relatedName":"StoreAccount"},{"name":"buyerBillingAddress","fkMap":[{"fk":"buyerBillingAddressID","relatedKey":"addressID"}],"relatedName":"StoreAccountAddress"},{"name":"buyerShippingAddress","fkMap":[{"fk":"buyerShippingAddressID","relatedKey":"addressID"}],"relatedName":"StoreAccountAddress"},{"name":"reference","fkMap":[{"fk":"referenceID","relatedKey":"journalID"}],"relatedName":"StoreJournal"},{"name":"references","isCollection":true,"isInverse":true,"relatedName":"StoreJournal"},{"name":"folder","fkMap":[{"fk":"folderID","relatedKey":"appFileID"}],"relatedName":"AppFile"},{"name":"paymentAttempts","isCollection":true,"isInverse":true,"relatedName":"StorePaymentAttempt"},{"name":"entries","isCollection":true,"isInverse":true,"relatedName":"StoreJournalEntry"},{"name":"lineItems","isCollection":true,"isInverse":true,"relatedName":"StoreJournalLineItem"}]}
|
|
1346
1403
|
);
|
|
1347
1404
|
modelEntitySchemas["StoreJournal"] = StoreJournal;
|
|
1348
1405
|
|
|
1349
1406
|
export interface IStoreJournalEntry extends IClrEntity {
|
|
1350
1407
|
readonly entryID?: number;
|
|
1351
1408
|
journalID?: number;
|
|
1352
|
-
|
|
1409
|
+
accountID?: number;
|
|
1353
1410
|
credit?: number;
|
|
1354
1411
|
debit?: number;
|
|
1355
1412
|
balance?: number | null;
|
|
1356
1413
|
description?: string | null;
|
|
1357
1414
|
lineItemID?: number | null;
|
|
1358
1415
|
journal?: IStoreJournal;
|
|
1359
|
-
|
|
1416
|
+
storeAccount?: IStoreAccount;
|
|
1360
1417
|
lineItem?: IStoreJournalLineItem;
|
|
1361
1418
|
}
|
|
1362
1419
|
|
|
@@ -1364,7 +1421,7 @@ export const StoreJournalEntry: IModel<IStoreJournalEntry,any,any> = new Model<I
|
|
|
1364
1421
|
"StoreJournalEntry",
|
|
1365
1422
|
["entryID"],
|
|
1366
1423
|
{ credit: 0,debit: 0 },
|
|
1367
|
-
{"name":"store_journal_entries","keys":[{"name":"entryID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"journalID","type":"number","dataType":"BigInt"},{"name":"
|
|
1424
|
+
{"name":"store_journal_entries","keys":[{"name":"entryID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"journalID","type":"number","dataType":"BigInt"},{"name":"accountID","type":"number","dataType":"BigInt"},{"name":"credit","type":"number","dataType":"Decimal","default":["credit","0"]},{"name":"debit","type":"number","dataType":"Decimal","default":["debit","0"]},{"name":"balance","type":"number","dataType":"Decimal","default":["balance","0"]},{"name":"description","type":"string","dataType":"Char","default":["description","\"\""]},{"name":"lineItemID","type":"number","dataType":"BigInt"}],"relations":[{"name":"journal","fkMap":[{"fk":"journalID","relatedKey":"journalID"}],"relatedName":"StoreJournal"},{"name":"storeAccount","fkMap":[{"fk":"accountID","relatedKey":"accountID"}],"relatedName":"StoreAccount"},{"name":"lineItem","fkMap":[{"fk":"lineItemID","relatedKey":"lineItemID"}],"relatedName":"StoreJournalLineItem"}]}
|
|
1368
1425
|
);
|
|
1369
1426
|
modelEntitySchemas["StoreJournalEntry"] = StoreJournalEntry;
|
|
1370
1427
|
|
|
@@ -1384,7 +1441,7 @@ export interface IStoreJournalLineItem extends IClrEntity {
|
|
|
1384
1441
|
journal?: IStoreJournal;
|
|
1385
1442
|
item?: IStoreItem;
|
|
1386
1443
|
itemPrice?: IStoreItemPrice;
|
|
1387
|
-
vendor?:
|
|
1444
|
+
vendor?: IStoreAccount;
|
|
1388
1445
|
source?: IStoreJournalLineItem;
|
|
1389
1446
|
relatedItems?: ICollection<IStoreJournalLineItem>;
|
|
1390
1447
|
entries?: ICollection<IStoreJournalEntry>;
|
|
@@ -1396,7 +1453,7 @@ export const StoreJournalLineItem: IModel<IStoreJournalLineItem,any,any> = new M
|
|
|
1396
1453
|
"StoreJournalLineItem",
|
|
1397
1454
|
["lineItemID"],
|
|
1398
1455
|
{ amount: 0,total: 0,quantity: 0,inclusive: false,hide: false },
|
|
1399
|
-
{"name":"store_journal_line_items","keys":[{"name":"lineItemID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"journalID","type":"number","dataType":"BigInt"},{"name":"itemID","type":"number","dataType":"BigInt"},{"name":"itemPriceID","type":"number","dataType":"BigInt"},{"name":"amount","type":"number","dataType":"Decimal","default":["amount","0"]},{"name":"total","type":"number","dataType":"Decimal","default":["total","0"]},{"name":"quantity","type":"number","dataType":"Decimal","default":["quantity","0"]},{"name":"inclusive","type":"boolean","dataType":"Boolean","default":["inclusive","false"]},{"name":"itemType","type":"string","dataType":"Char","length":50,"default":["itemType","\"product\""]},{"name":"hide","type":"boolean","dataType":"Boolean","default":["hide","false"]},{"name":"vendorID","type":"number","dataType":"BigInt"},{"name":"sourceID","type":"number","dataType":"BigInt"}],"relations":[{"name":"journal","fkMap":[{"fk":"journalID","relatedKey":"journalID"}],"relatedName":"StoreJournal"},{"name":"item","fkMap":[{"fk":"itemID","relatedKey":"storeItemID"}],"relatedName":"StoreItem"},{"name":"itemPrice","fkMap":[{"fk":"itemPriceID","relatedKey":"priceID"}],"relatedName":"StoreItemPrice"},{"name":"vendor","fkMap":[{"fk":"vendorID","relatedKey":"
|
|
1456
|
+
{"name":"store_journal_line_items","keys":[{"name":"lineItemID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"journalID","type":"number","dataType":"BigInt"},{"name":"itemID","type":"number","dataType":"BigInt"},{"name":"itemPriceID","type":"number","dataType":"BigInt"},{"name":"amount","type":"number","dataType":"Decimal","default":["amount","0"]},{"name":"total","type":"number","dataType":"Decimal","default":["total","0"]},{"name":"quantity","type":"number","dataType":"Decimal","default":["quantity","0"]},{"name":"inclusive","type":"boolean","dataType":"Boolean","default":["inclusive","false"]},{"name":"itemType","type":"string","dataType":"Char","length":50,"default":["itemType","\"product\""]},{"name":"hide","type":"boolean","dataType":"Boolean","default":["hide","false"]},{"name":"vendorID","type":"number","dataType":"BigInt"},{"name":"sourceID","type":"number","dataType":"BigInt"}],"relations":[{"name":"journal","fkMap":[{"fk":"journalID","relatedKey":"journalID"}],"relatedName":"StoreJournal"},{"name":"item","fkMap":[{"fk":"itemID","relatedKey":"storeItemID"}],"relatedName":"StoreItem"},{"name":"itemPrice","fkMap":[{"fk":"itemPriceID","relatedKey":"priceID"}],"relatedName":"StoreItemPrice"},{"name":"vendor","fkMap":[{"fk":"vendorID","relatedKey":"accountID"}],"relatedName":"StoreAccount"},{"name":"source","fkMap":[{"fk":"sourceID","relatedKey":"lineItemID"}],"relatedName":"StoreJournalLineItem"},{"name":"relatedItems","isCollection":true,"isInverse":true,"relatedName":"StoreJournalLineItem"},{"name":"entries","isCollection":true,"isInverse":true,"relatedName":"StoreJournalEntry"}]}
|
|
1400
1457
|
);
|
|
1401
1458
|
modelEntitySchemas["StoreJournalLineItem"] = StoreJournalLineItem;
|
|
1402
1459
|
|
|
@@ -1481,6 +1538,7 @@ export interface IUser extends IClrEntity {
|
|
|
1481
1538
|
contacts?: ICollection<IContact>;
|
|
1482
1539
|
domainUsers?: ICollection<IDomainUser>;
|
|
1483
1540
|
hostedZones?: ICollection<IHostedZoneUser>;
|
|
1541
|
+
customerAccounts?: ICollection<IStoreAccount>;
|
|
1484
1542
|
pins?: ICollection<IUserPin>;
|
|
1485
1543
|
userPushSubscriptions?: ICollection<IUserPushSubscription>;
|
|
1486
1544
|
roles?: ICollection<IUserRole>;
|
|
@@ -1495,7 +1553,7 @@ export const User: IModel<IUser,any,any> = new Model<IUser>(
|
|
|
1495
1553
|
"User",
|
|
1496
1554
|
["userID"],
|
|
1497
1555
|
{ userName: "",displayName: "",status: "active",isExternal: false,multiFactor: false,dateUpdated: new DefaultFactory(() => new DateTime()),storage: 0,maxStorage: 0,maxWebSites: 0,maxExternalInboxes: 0,maxChildUsers: 0 },
|
|
1498
|
-
{"name":"users","keys":[{"name":"userID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"userName","type":"string","dataType":"Char","length":200,"default":["userName","\"\""]},{"name":"displayName","type":"string","dataType":"Char","length":200,"default":["displayName","\"\""]},{"name":"passwordHash","type":"string","dataType":"Char","default":["passwordHash","\"\""]},{"name":"passwordSalt","type":"string","dataType":"Char","length":20,"default":["passwordSalt","\"\""]},{"name":"status","type":"string","dataType":"AsciiChar","length":15,"default":["status","\"active\""]},{"name":"isExternal","type":"boolean","dataType":"Boolean","default":["isExternal","false"]},{"name":"multiFactor","type":"boolean","dataType":"Boolean","default":["multiFactor","false"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTimeOffset","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"storage","type":"number","dataType":"BigInt","default":["storage","0"]},{"name":"maxStorage","type":"number","dataType":"BigInt","default":["maxStorage","0"]},{"name":"maxWebSites","type":"number","dataType":"BigInt","default":["maxWebSites","0"]},{"name":"maxExternalInboxes","type":"number","dataType":"BigInt","default":["maxExternalInboxes","0"]},{"name":"maxChildUsers","type":"number","dataType":"BigInt","default":["maxChildUsers","0"]},{"name":"parentID","type":"number","dataType":"BigInt"}],"relations":[{"name":"parent","fkMap":[{"fk":"parentID","relatedKey":"userID"}],"relatedName":"User"},{"name":"children","isCollection":true,"isInverse":true,"relatedName":"User"},{"name":"createdFiles","isCollection":true,"isInverse":true,"relatedName":"AppFile"},{"name":"sentEmails","isCollection":true,"isInverse":true,"relatedName":"Email"},{"name":"accessTokens","isCollection":true,"isInverse":true,"relatedName":"AccessToken"},{"name":"versions","isCollection":true,"isInverse":true,"relatedName":"AppFileVersion"},{"name":"sessions","isCollection":true,"isInverse":true,"relatedName":"LoginSession"},{"name":"fileAccessList","isCollection":true,"isInverse":true,"relatedName":"AppFileAccess"},{"name":"contacts","isCollection":true,"isInverse":true,"relatedName":"Contact"},{"name":"domainUsers","isCollection":true,"isInverse":true,"relatedName":"DomainUser"},{"name":"hostedZones","isCollection":true,"isInverse":true,"relatedName":"HostedZoneUser"},{"name":"pins","isCollection":true,"isInverse":true,"relatedName":"UserPin"},{"name":"userPushSubscriptions","isCollection":true,"isInverse":true,"relatedName":"UserPushSubscription"},{"name":"roles","isCollection":true,"isInverse":true,"relatedName":"UserRole"},{"name":"userMailboxes","isCollection":true,"isInverse":true,"relatedName":"UserMailbox"},{"name":"authFactors","isCollection":true,"isInverse":true,"relatedName":"UserAuthFactor"},{"name":"publishedWebSiteVersions","isCollection":true,"isInverse":true,"relatedName":"WebSiteFolderVersion"}]}
|
|
1556
|
+
{"name":"users","keys":[{"name":"userID","type":"number","generated":"identity","dataType":"BigInt"}],"properties":[{"name":"userName","type":"string","dataType":"Char","length":200,"default":["userName","\"\""]},{"name":"displayName","type":"string","dataType":"Char","length":200,"default":["displayName","\"\""]},{"name":"passwordHash","type":"string","dataType":"Char","default":["passwordHash","\"\""]},{"name":"passwordSalt","type":"string","dataType":"Char","length":20,"default":["passwordSalt","\"\""]},{"name":"status","type":"string","dataType":"AsciiChar","length":15,"default":["status","\"active\""]},{"name":"isExternal","type":"boolean","dataType":"Boolean","default":["isExternal","false"]},{"name":"multiFactor","type":"boolean","dataType":"Boolean","default":["multiFactor","false"]},{"name":"dateUpdated","type":"DateTime","dataType":"DateTimeOffset","default":["dateUpdated","new DefaultFactory(() => new DateTime())"]},{"name":"storage","type":"number","dataType":"BigInt","default":["storage","0"]},{"name":"maxStorage","type":"number","dataType":"BigInt","default":["maxStorage","0"]},{"name":"maxWebSites","type":"number","dataType":"BigInt","default":["maxWebSites","0"]},{"name":"maxExternalInboxes","type":"number","dataType":"BigInt","default":["maxExternalInboxes","0"]},{"name":"maxChildUsers","type":"number","dataType":"BigInt","default":["maxChildUsers","0"]},{"name":"parentID","type":"number","dataType":"BigInt"}],"relations":[{"name":"parent","fkMap":[{"fk":"parentID","relatedKey":"userID"}],"relatedName":"User"},{"name":"children","isCollection":true,"isInverse":true,"relatedName":"User"},{"name":"createdFiles","isCollection":true,"isInverse":true,"relatedName":"AppFile"},{"name":"sentEmails","isCollection":true,"isInverse":true,"relatedName":"Email"},{"name":"accessTokens","isCollection":true,"isInverse":true,"relatedName":"AccessToken"},{"name":"versions","isCollection":true,"isInverse":true,"relatedName":"AppFileVersion"},{"name":"sessions","isCollection":true,"isInverse":true,"relatedName":"LoginSession"},{"name":"fileAccessList","isCollection":true,"isInverse":true,"relatedName":"AppFileAccess"},{"name":"contacts","isCollection":true,"isInverse":true,"relatedName":"Contact"},{"name":"domainUsers","isCollection":true,"isInverse":true,"relatedName":"DomainUser"},{"name":"hostedZones","isCollection":true,"isInverse":true,"relatedName":"HostedZoneUser"},{"name":"customerAccounts","isCollection":true,"isInverse":true,"relatedName":"StoreAccount"},{"name":"pins","isCollection":true,"isInverse":true,"relatedName":"UserPin"},{"name":"userPushSubscriptions","isCollection":true,"isInverse":true,"relatedName":"UserPushSubscription"},{"name":"roles","isCollection":true,"isInverse":true,"relatedName":"UserRole"},{"name":"userMailboxes","isCollection":true,"isInverse":true,"relatedName":"UserMailbox"},{"name":"authFactors","isCollection":true,"isInverse":true,"relatedName":"UserAuthFactor"},{"name":"publishedWebSiteVersions","isCollection":true,"isInverse":true,"relatedName":"WebSiteFolderVersion"}]}
|
|
1499
1557
|
);
|
|
1500
1558
|
modelEntitySchemas["User"] = User;
|
|
1501
1559
|
|
|
@@ -1601,15 +1659,15 @@ export interface IWebSiteFolder extends IClrEntity {
|
|
|
1601
1659
|
snapshotStorage?: number;
|
|
1602
1660
|
supportEmail?: string | null;
|
|
1603
1661
|
fromEmail?: string | null;
|
|
1604
|
-
currency?: string
|
|
1662
|
+
currency?: string;
|
|
1605
1663
|
folder?: IAppFile;
|
|
1606
1664
|
currentVersion?: IAppFile;
|
|
1607
1665
|
activities?: ICollection<IServerActivity>;
|
|
1608
1666
|
configs?: ICollection<IStoreConfig>;
|
|
1609
1667
|
storeItems?: ICollection<IStoreItem>;
|
|
1610
1668
|
itemFolders?: ICollection<IStoreItemFolder>;
|
|
1669
|
+
storeAccounts?: ICollection<IStoreAccount>;
|
|
1611
1670
|
journals?: ICollection<IStoreJournal>;
|
|
1612
|
-
ledgers?: ICollection<IStoreLedger>;
|
|
1613
1671
|
insights?: ICollection<IStoreInsight>;
|
|
1614
1672
|
tags?: ICollection<IStoreTag>;
|
|
1615
1673
|
hosts?: ICollection<IWebSiteFolderHost>;
|
|
@@ -1620,8 +1678,8 @@ export interface IWebSiteFolder extends IClrEntity {
|
|
|
1620
1678
|
export const WebSiteFolder: IModel<IWebSiteFolder,{"templates":"external"},any> = new Model<IWebSiteFolder>(
|
|
1621
1679
|
"WebSiteFolder",
|
|
1622
1680
|
["folderID"],
|
|
1623
|
-
{ isStatic: false,isTemplate: false,isModified: false,snapshotStorage: 0 },
|
|
1624
|
-
{"name":"web_site_folders","keys":[{"name":"folderID","type":"number","dataType":"BigInt"}],"properties":[{"name":"currentVersionID","type":"number","dataType":"BigInt"},{"name":"isStatic","type":"boolean","dataType":"Boolean","default":["isStatic","false"]},{"name":"isTemplate","type":"boolean","dataType":"Boolean","default":["isTemplate","false"]},{"name":"isModified","type":"boolean","dataType":"Boolean","default":["isModified","false"]},{"name":"snapshotStorage","type":"number","dataType":"BigInt","default":["snapshotStorage","0"]},{"name":"supportEmail","type":"string","dataType":"Char","length":200,"default":["supportEmail","\"\""]},{"name":"fromEmail","type":"string","dataType":"Char","length":200,"default":["fromEmail","\"\""]}],"relations":[{"name":"folder","fkMap":[{"fk":"folderID","relatedKey":"appFileID"}],"relatedName":"AppFile"},{"name":"currentVersion","fkMap":[{"fk":"currentVersionID","relatedKey":"appFileID"}],"relatedName":"AppFile"},{"name":"activities","isCollection":true,"isInverse":true,"relatedName":"ServerActivity"},{"name":"configs","isCollection":true,"isInverse":true,"relatedName":"StoreConfig"},{"name":"storeItems","isCollection":true,"isInverse":true,"relatedName":"StoreItem"},{"name":"itemFolders","isCollection":true,"isInverse":true,"relatedName":"StoreItemFolder"},{"name":"
|
|
1681
|
+
{ isStatic: false,isTemplate: false,isModified: false,snapshotStorage: 0,currency: "" },
|
|
1682
|
+
{"name":"web_site_folders","keys":[{"name":"folderID","type":"number","dataType":"BigInt"}],"properties":[{"name":"currentVersionID","type":"number","dataType":"BigInt"},{"name":"isStatic","type":"boolean","dataType":"Boolean","default":["isStatic","false"]},{"name":"isTemplate","type":"boolean","dataType":"Boolean","default":["isTemplate","false"]},{"name":"isModified","type":"boolean","dataType":"Boolean","default":["isModified","false"]},{"name":"snapshotStorage","type":"number","dataType":"BigInt","default":["snapshotStorage","0"]},{"name":"supportEmail","type":"string","dataType":"Char","length":200,"default":["supportEmail","\"\""]},{"name":"fromEmail","type":"string","dataType":"Char","length":200,"default":["fromEmail","\"\""]},{"name":"currency","type":"string","dataType":"Char","length":10,"default":["currency","\"\""]}],"relations":[{"name":"folder","fkMap":[{"fk":"folderID","relatedKey":"appFileID"}],"relatedName":"AppFile"},{"name":"currentVersion","fkMap":[{"fk":"currentVersionID","relatedKey":"appFileID"}],"relatedName":"AppFile"},{"name":"activities","isCollection":true,"isInverse":true,"relatedName":"ServerActivity"},{"name":"configs","isCollection":true,"isInverse":true,"relatedName":"StoreConfig"},{"name":"storeItems","isCollection":true,"isInverse":true,"relatedName":"StoreItem"},{"name":"itemFolders","isCollection":true,"isInverse":true,"relatedName":"StoreItemFolder"},{"name":"storeAccounts","isCollection":true,"isInverse":true,"relatedName":"StoreAccount"},{"name":"journals","isCollection":true,"isInverse":true,"relatedName":"StoreJournal"},{"name":"insights","isCollection":true,"isInverse":true,"relatedName":"StoreInsight"},{"name":"tags","isCollection":true,"isInverse":true,"relatedName":"StoreTag"},{"name":"hosts","isCollection":true,"isInverse":true,"relatedName":"WebSiteFolderHost"},{"name":"versions","isCollection":true,"isInverse":true,"relatedName":"WebSiteFolderVersion"},{"name":"channels","isCollection":true,"isInverse":true,"relatedName":"WebSiteChannel"}],"queries":{"templates":"external"}}
|
|
1625
1683
|
);
|
|
1626
1684
|
modelEntitySchemas["WebSiteFolder"] = WebSiteFolder;
|
|
1627
1685
|
|