@social-mail/social-mail-client 1.2.652 → 1.2.653
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 +136 -90
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- package/dist/admin/AdminAppIndex.pack.min.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 +18 -10
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.js.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.d.ts +2 -2
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.d.ts.map +1 -1
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.js +12 -11
- package/dist/common/pages/stores/payment-gateway/PaymentGatewayListPage.js.map +1 -1
- package/dist/model/model.d.ts +26 -18
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +106 -69
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +106 -69
- 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 +106 -69
- 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 +106 -69
- package/dist/public/store/Store.pack.js.map +1 -1
- package/dist/public/store/Store.pack.min.js +1 -1
- package/dist/public/store/Store.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js +106 -69
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +1 -1
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js +106 -69
- 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/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +136 -90
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/stores/payment-gateway/PaymentGatewayEditorPage.tsx +17 -11
- package/src/common/pages/stores/payment-gateway/PaymentGatewayListPage.tsx +17 -14
- package/src/model/model.ts +36 -20
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContentPage } from "@web-atoms/web-controls/dist/mobile-app/MobileApp";
|
|
2
|
-
import {
|
|
2
|
+
import { IStorePaymentGateway, StorePaymentGatewayPaymentGatewayArray } 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<IStorePaymentGateway> {
|
|
14
14
|
|
|
15
|
-
model:
|
|
15
|
+
model: IStorePaymentGateway;
|
|
16
16
|
|
|
17
17
|
@InjectProperty
|
|
18
18
|
entityService: EntityService;
|
|
@@ -27,24 +27,30 @@ export default class PaymentGatewayEditorPage extends ContentPage<IStoreAccount>
|
|
|
27
27
|
<Form>
|
|
28
28
|
<FormField label="Type">
|
|
29
29
|
<Select
|
|
30
|
-
items={
|
|
30
|
+
items={StorePaymentGatewayPaymentGatewayArray}
|
|
31
31
|
value={Bind.twoWaysImmediate(() => this.model.paymentGateway)}
|
|
32
32
|
/>
|
|
33
33
|
</FormField>
|
|
34
34
|
<FormField label="Name">
|
|
35
|
-
<input value={Bind.twoWaysImmediate(() => this.model.name)}/>
|
|
35
|
+
<input value={Bind.twoWaysImmediate(() => this.model.storeAccount.name)}/>
|
|
36
36
|
</FormField>
|
|
37
37
|
<FormField label="Description">
|
|
38
|
-
<input value={Bind.twoWaysImmediate(() => this.model.description)}/>
|
|
38
|
+
<input value={Bind.twoWaysImmediate(() => this.model.storeAccount.description)}/>
|
|
39
|
+
</FormField>
|
|
40
|
+
<FormField label="Client ID">
|
|
41
|
+
<input value={Bind.twoWaysImmediate(() => this.model.clientID)}/>
|
|
39
42
|
</FormField>
|
|
40
43
|
<FormField label="MerchantID">
|
|
41
44
|
<input value={Bind.twoWaysImmediate(() => this.model.merchantID)}/>
|
|
42
45
|
</FormField>
|
|
43
|
-
<FormField label="
|
|
44
|
-
<input value={Bind.twoWaysImmediate(() => this.model.
|
|
46
|
+
<FormField label="Salt Index">
|
|
47
|
+
<input value={Bind.twoWaysImmediate(() => this.model.saltIndex)}/>
|
|
48
|
+
</FormField>
|
|
49
|
+
<FormField label="Salt">
|
|
50
|
+
<input value={Bind.twoWaysImmediate(() => this.model.salt)}/>
|
|
45
51
|
</FormField>
|
|
46
|
-
<FormField label="
|
|
47
|
-
<input value={Bind.twoWaysImmediate(() => this.model.
|
|
52
|
+
<FormField label="Secret">
|
|
53
|
+
<input value={Bind.twoWaysImmediate(() => this.model.secret)}/>
|
|
48
54
|
</FormField>
|
|
49
55
|
<FormField label="Url">
|
|
50
56
|
<input value={Bind.twoWaysImmediate(() => this.model.url)}/>
|
|
@@ -58,7 +64,7 @@ export default class PaymentGatewayEditorPage extends ContentPage<IStoreAccount>
|
|
|
58
64
|
|
|
59
65
|
@Action({ onEvent: "submitForm", close: true })
|
|
60
66
|
async submitForm() {
|
|
61
|
-
await this.entityService.save(this.model, (c) => c);
|
|
67
|
+
await this.entityService.save(this.model, (c) => c.include((x) => x.storeAccount));
|
|
62
68
|
return this.model;
|
|
63
69
|
}
|
|
64
70
|
|
|
@@ -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 { IStoreAccount, StoreAccount } from "../../../../model/model";
|
|
8
|
+
import { IStoreAccount, IStorePaymentGateway, StoreAccount, StorePaymentGateway } 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";
|
|
@@ -41,10 +41,9 @@ export default class PaymentGatewayListPage extends MasterDetailPage {
|
|
|
41
41
|
presenter={Bind.presenter((c) => this.repeater = c)}
|
|
42
42
|
items={this.items}
|
|
43
43
|
{ ... InfiniteRepeater.pagedItems((start) => (c, e, cancelToken) => this.load({ start, search: this.search, cancelToken }))}
|
|
44
|
-
itemRenderer={(x:
|
|
45
|
-
<label text={x.accessID}/>
|
|
44
|
+
itemRenderer={(x: IStorePaymentGateway) => <div>
|
|
46
45
|
<label text={x.paymentGateway}/>
|
|
47
|
-
<label text={x.name}/>
|
|
46
|
+
<label text={x.storeAccount.name}/>
|
|
48
47
|
</div>}
|
|
49
48
|
/>
|
|
50
49
|
</div>;
|
|
@@ -56,15 +55,17 @@ export default class PaymentGatewayListPage extends MasterDetailPage {
|
|
|
56
55
|
|
|
57
56
|
load( { start, cancelToken, search } ) {
|
|
58
57
|
const { storeID } = this.parameters;
|
|
59
|
-
let q = this.entityService.query(
|
|
60
|
-
.where({ storeID }, (p) => (x) => x.storeID === p.storeID
|
|
58
|
+
let q = this.entityService.query(StorePaymentGateway)
|
|
59
|
+
.where({ storeID }, (p) => (x) => x.storeAccount.storeID === p.storeID);
|
|
61
60
|
if (search) {
|
|
62
|
-
q = q.where({ search }, (p) => (x) => Sql.text.iLike(x.description, p.search));
|
|
61
|
+
q = q.where({ search }, (p) => (x) => Sql.text.iLike(x.storeAccount.description, p.search));
|
|
63
62
|
}
|
|
64
|
-
return q
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
return q
|
|
64
|
+
.include((x) => x.storeAccount)
|
|
65
|
+
.toPagedList({
|
|
66
|
+
start,
|
|
67
|
+
cancelToken
|
|
68
|
+
});
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
@Action({ onEvent: "itemSelected"})
|
|
@@ -84,9 +85,11 @@ export default class PaymentGatewayListPage extends MasterDetailPage {
|
|
|
84
85
|
@Action({ onEvent: "addItem"})
|
|
85
86
|
addItem() {
|
|
86
87
|
const { storeID } = this.parameters;
|
|
87
|
-
const item =
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
const item = StorePaymentGateway.create({
|
|
89
|
+
storeAccount: StoreAccount.create({
|
|
90
|
+
storeID,
|
|
91
|
+
head: "Income"
|
|
92
|
+
})
|
|
90
93
|
});
|
|
91
94
|
this.items.add(item);
|
|
92
95
|
this.repeater.selectedItem = item;
|
package/src/model/model.ts
CHANGED
|
@@ -1200,14 +1200,14 @@ export interface IStorePaymentAttempt extends IClrEntity {
|
|
|
1200
1200
|
dateUpdated?: DateTime;
|
|
1201
1201
|
success?: boolean;
|
|
1202
1202
|
order?: IStoreJournal;
|
|
1203
|
-
gateway?:
|
|
1203
|
+
gateway?: IStorePaymentGateway;
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
1206
1206
|
export const StorePaymentAttempt: IModel<IStorePaymentAttempt,any,any> = new Model<IStorePaymentAttempt>(
|
|
1207
1207
|
"StorePaymentAttempt",
|
|
1208
1208
|
["attemptID"],
|
|
1209
1209
|
{ dateCreated: new DefaultFactory(() => new DateTime()),dateUpdated: new DefaultFactory(() => new DateTime()),success: false },
|
|
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":"
|
|
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":"StorePaymentGateway"}]}
|
|
1211
1211
|
);
|
|
1212
1212
|
modelEntitySchemas["StorePaymentAttempt"] = StorePaymentAttempt;
|
|
1213
1213
|
|
|
@@ -1267,20 +1267,8 @@ export interface IStoreAccount extends IClrEntity {
|
|
|
1267
1267
|
name?: string;
|
|
1268
1268
|
description?: string | null;
|
|
1269
1269
|
balance?: number;
|
|
1270
|
-
paymentGateway?: "paypal" | "phone-pe" | null;
|
|
1271
|
-
isGatewayActive?: boolean;
|
|
1272
|
-
merchantID?: string | null;
|
|
1273
|
-
url?: string | null;
|
|
1274
|
-
username?: string | null;
|
|
1275
|
-
encryptedPassword?: string | null;
|
|
1276
|
-
accessID?: string | null;
|
|
1277
|
-
encryptedSecret?: string | null;
|
|
1278
|
-
country?: string | null;
|
|
1279
1270
|
billingAddressID?: number | null;
|
|
1280
1271
|
shippingAddressID?: number | null;
|
|
1281
|
-
isDefault?: boolean;
|
|
1282
|
-
password?: string;
|
|
1283
|
-
secret?: string;
|
|
1284
1272
|
store?: IWebSiteFolder;
|
|
1285
1273
|
parent?: IStoreAccount;
|
|
1286
1274
|
children?: ICollection<IStoreAccount>;
|
|
@@ -1290,20 +1278,18 @@ export interface IStoreAccount extends IClrEntity {
|
|
|
1290
1278
|
soldInvoices?: ICollection<IStoreJournal>;
|
|
1291
1279
|
boughtInvoices?: ICollection<IStoreJournal>;
|
|
1292
1280
|
addresses?: ICollection<IStoreAccountAddress>;
|
|
1293
|
-
|
|
1281
|
+
storePaymentGateway?: IStorePaymentGateway;
|
|
1294
1282
|
emails?: ICollection<IStoreAccountEmail>;
|
|
1295
1283
|
phones?: ICollection<IStoreAccountPhone>;
|
|
1296
1284
|
entries?: ICollection<IStoreJournalEntry>;
|
|
1297
1285
|
soldItems?: ICollection<IStoreJournalLineItem>;
|
|
1298
1286
|
}
|
|
1299
1287
|
|
|
1300
|
-
export const StoreAccountPaymentGatewayArray = [{"label":"paypal","value":"paypal"},{"label":"phone-pe","value":"phone-pe"}];
|
|
1301
|
-
|
|
1302
1288
|
export const StoreAccount: IModel<IStoreAccount,any,any> = new Model<IStoreAccount>(
|
|
1303
1289
|
"StoreAccount",
|
|
1304
1290
|
["accountID"],
|
|
1305
|
-
{ dateCreated: new DefaultFactory(() => new DateTime()),ledgerType: "",name: "",balance: 0
|
|
1306
|
-
{"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":"dateCreated","type":"DateTime","dataType":"DateTime","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"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":"
|
|
1291
|
+
{ dateCreated: new DefaultFactory(() => new DateTime()),ledgerType: "",name: "",balance: 0 },
|
|
1292
|
+
{"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":"dateCreated","type":"DateTime","dataType":"DateTime","default":["dateCreated","new DefaultFactory(() => new DateTime())"]},{"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":"billingAddressID","type":"number","dataType":"BigInt","default":["billingAddressID","0"]},{"name":"shippingAddressID","type":"number","dataType":"BigInt","default":["shippingAddressID","0"]}],"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":"storePaymentGateway","isCollection":false,"isInverse":true,"relatedName":"StorePaymentGateway"},{"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"}]}
|
|
1307
1293
|
);
|
|
1308
1294
|
modelEntitySchemas["StoreAccount"] = StoreAccount;
|
|
1309
1295
|
|
|
@@ -1364,10 +1350,40 @@ export const StoreAccountPhone: IModel<IStoreAccountPhone,any,any> = new Model<I
|
|
|
1364
1350
|
"StoreAccountPhone",
|
|
1365
1351
|
["accountID","phoneNumberE64"],
|
|
1366
1352
|
{ },
|
|
1367
|
-
{"name":"
|
|
1353
|
+
{"name":"store_account_phones","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"}]}
|
|
1368
1354
|
);
|
|
1369
1355
|
modelEntitySchemas["StoreAccountPhone"] = StoreAccountPhone;
|
|
1370
1356
|
|
|
1357
|
+
export interface IStorePaymentGateway extends IClrEntity {
|
|
1358
|
+
accountID?: number;
|
|
1359
|
+
paymentGateway?: "paypal" | "phone-pe" | null;
|
|
1360
|
+
isGatewayActive?: boolean;
|
|
1361
|
+
isDefault?: boolean;
|
|
1362
|
+
merchantID?: string | null;
|
|
1363
|
+
url?: string | null;
|
|
1364
|
+
accessID?: string | null;
|
|
1365
|
+
clientID?: string | null;
|
|
1366
|
+
saltIndex?: string | null;
|
|
1367
|
+
encryptedSalt?: string | null;
|
|
1368
|
+
encryptedSecret?: string | null;
|
|
1369
|
+
country?: string | null;
|
|
1370
|
+
currency?: string | null;
|
|
1371
|
+
salt?: string;
|
|
1372
|
+
secret?: string;
|
|
1373
|
+
storeAccount?: IStoreAccount;
|
|
1374
|
+
paymentAttempts?: ICollection<IStorePaymentAttempt>;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
export const StorePaymentGatewayPaymentGatewayArray = [{"label":"paypal","value":"paypal"},{"label":"phone-pe","value":"phone-pe"}];
|
|
1378
|
+
|
|
1379
|
+
export const StorePaymentGateway: IModel<IStorePaymentGateway,any,any> = new Model<IStorePaymentGateway>(
|
|
1380
|
+
"StorePaymentGateway",
|
|
1381
|
+
["accountID"],
|
|
1382
|
+
{ isGatewayActive: false,isDefault: false },
|
|
1383
|
+
{"name":"store_payment_gateways","keys":[{"name":"accountID","type":"number","dataType":"BigInt"}],"properties":[{"name":"paymentGateway","type":"string","dataType":"Char","length":50,"default":["paymentGateway","\"paypal\""]},{"name":"isGatewayActive","type":"boolean","dataType":"Boolean","default":["isGatewayActive","false"]},{"name":"isDefault","type":"boolean","dataType":"Boolean","default":["isDefault","false"]},{"name":"merchantID","type":"string","dataType":"Char","length":400,"default":["merchantID","\"\""]},{"name":"url","type":"string","dataType":"Char","default":["url","\"\""]},{"name":"accessID","type":"string","dataType":"Char","default":["accessID","\"\""]},{"name":"clientID","type":"string","dataType":"Char","default":["clientID","\"\""]},{"name":"saltIndex","type":"string","dataType":"Char","length":50,"default":["saltIndex","\"\""]},{"name":"encryptedSalt","type":"string","dataType":"Char","length":400,"default":["encryptedSalt","\"\""]},{"name":"encryptedSecret","type":"string","dataType":"Char","default":["encryptedSecret","\"\""]},{"name":"country","type":"string","dataType":"Char","length":20,"default":["country","\"\""]},{"name":"currency","type":"string","dataType":"Char","length":20,"default":["currency","\"\""]}],"relations":[{"name":"storeAccount","fkMap":[{"fk":"accountID","relatedKey":"accountID"}],"relatedName":"StoreAccount"},{"name":"paymentAttempts","isCollection":true,"isInverse":true,"relatedName":"StorePaymentAttempt"}]}
|
|
1384
|
+
);
|
|
1385
|
+
modelEntitySchemas["StorePaymentGateway"] = StorePaymentGateway;
|
|
1386
|
+
|
|
1371
1387
|
export interface IStoreJournal extends IClrEntity {
|
|
1372
1388
|
readonly journalID?: number;
|
|
1373
1389
|
storeID?: number;
|