@social-mail/social-mail-client 1.2.654 → 1.2.656

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.
Files changed (38) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +9 -0
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +1 -1
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/model/model.d.ts +2 -1
  6. package/dist/model/model.d.ts.map +1 -1
  7. package/dist/model/model.js +9 -0
  8. package/dist/model/model.js.map +1 -1
  9. package/dist/public/channel/ChannelView.pack.js +9 -0
  10. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  11. package/dist/public/channel/ChannelView.pack.min.js +1 -1
  12. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  13. package/dist/public/preview/zip/DownloadZip.pack.js +9 -0
  14. package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
  15. package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
  16. package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
  17. package/dist/public/store/Store.pack.js +9 -0
  18. package/dist/public/store/Store.pack.js.map +1 -1
  19. package/dist/public/store/Store.pack.min.js +1 -1
  20. package/dist/public/store/Store.pack.min.js.map +1 -1
  21. package/dist/public/store/StoreApp.js +1 -1
  22. package/dist/public/store/StoreApp.js.map +1 -1
  23. package/dist/public/store/StoreApp.pack.js +10 -1
  24. package/dist/public/store/StoreApp.pack.js.map +1 -1
  25. package/dist/public/store/StoreApp.pack.min.js +2 -2
  26. package/dist/public/store/StoreApp.pack.min.js.map +1 -1
  27. package/dist/public/store/cart/ShoppingCart.pack.js +9 -0
  28. package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
  29. package/dist/public/store/cart/ShoppingCart.pack.min.js +1 -1
  30. package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/dist/web/AppIndex.pack.js +9 -0
  33. package/dist/web/AppIndex.pack.js.map +1 -1
  34. package/dist/web/AppIndex.pack.min.js +1 -1
  35. package/dist/web/AppIndex.pack.min.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/model/model.ts +4 -3
  38. package/src/public/store/StoreApp.tsx +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.2.654",
3
+ "version": "1.2.656",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1196,6 +1196,7 @@ export interface IStorePaymentAttempt extends IClrEntity {
1196
1196
  readonly attemptID?: number;
1197
1197
  orderID?: number;
1198
1198
  gatewayID?: number;
1199
+ externalID?: string | null;
1199
1200
  dateCreated?: DateTime;
1200
1201
  dateUpdated?: DateTime;
1201
1202
  success?: boolean;
@@ -1207,7 +1208,7 @@ export const StorePaymentAttempt: IModel<IStorePaymentAttempt,any,any> = new Mod
1207
1208
  "StorePaymentAttempt",
1208
1209
  ["attemptID"],
1209
1210
  { 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":"StorePaymentGateway"}]}
1211
+ {"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":"externalID","type":"string","dataType":"Char","length":400,"default":["externalID","\"\""]},{"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
1212
  );
1212
1213
  modelEntitySchemas["StorePaymentAttempt"] = StorePaymentAttempt;
1213
1214
 
@@ -1356,7 +1357,7 @@ modelEntitySchemas["StoreAccountPhone"] = StoreAccountPhone;
1356
1357
 
1357
1358
  export interface IStorePaymentGateway extends IClrEntity {
1358
1359
  accountID?: number;
1359
- paymentGateway?: "paypal" | "phone-pe" | null;
1360
+ paymentGateway?: "paypal" | "phone-pe" | "stripe" | null;
1360
1361
  isGatewayActive?: boolean;
1361
1362
  isDefault?: boolean;
1362
1363
  merchantID?: string | null;
@@ -1375,7 +1376,7 @@ export interface IStorePaymentGateway extends IClrEntity {
1375
1376
  paymentAttempts?: ICollection<IStorePaymentAttempt>;
1376
1377
  }
1377
1378
 
1378
- export const StorePaymentGatewayPaymentGatewayArray = [{"label":"paypal","value":"paypal"},{"label":"phone-pe","value":"phone-pe"}];
1379
+ export const StorePaymentGatewayPaymentGatewayArray = [{"label":"paypal","value":"paypal"},{"label":"phone-pe","value":"phone-pe"},{"label":"stripe","value":"stripe"}];
1379
1380
 
1380
1381
  export const StorePaymentGateway: IModel<IStorePaymentGateway,any,any> = new Model<IStorePaymentGateway>(
1381
1382
  "StorePaymentGateway",
@@ -43,7 +43,7 @@ Route.encodeUrl = (url) => {
43
43
  if (url.startsWith("#")) {
44
44
  return url;
45
45
  }
46
- if (/\d+\./.test(location.hostname)) {
46
+ if (/^\d+\.\d+\.\d+\.\d+/.test(location.hostname)) {
47
47
  return "#!" + url;
48
48
  }
49
49
  return url;