@social-mail/social-mail-web-server 1.7.494 → 1.7.495

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 (33) hide show
  1. package/dist/server/seed/ui/seed-ui.js +2 -2
  2. package/dist/server/services/store/StoreAccountService.d.ts +6 -0
  3. package/dist/server/services/store/StoreAccountService.d.ts.map +1 -0
  4. package/dist/server/services/{payment-gateways/Gateway.js → store/StoreAccountService.js} +10 -21
  5. package/dist/server/services/store/StoreAccountService.js.map +1 -0
  6. package/dist/tsconfig.tsbuildinfo +1 -1
  7. package/dist/wwwroot/routes/store/buy-link/[productID]/get.d.ts +14 -0
  8. package/dist/wwwroot/routes/store/buy-link/[productID]/get.d.ts.map +1 -0
  9. package/dist/wwwroot/routes/store/buy-link/[productID]/get.js +80 -0
  10. package/dist/wwwroot/routes/store/buy-link/[productID]/get.js.map +1 -0
  11. package/package.json +1 -1
  12. package/src/server/seed/ui/seed-ui.ts +2 -2
  13. package/src/server/services/store/StoreAccountService.ts +13 -0
  14. package/src/wwwroot/routes/store/buy-link/[productID]/get.tsx +87 -0
  15. package/dist/server/services/payment-gateways/Gateway.d.ts +0 -32
  16. package/dist/server/services/payment-gateways/Gateway.d.ts.map +0 -1
  17. package/dist/server/services/payment-gateways/Gateway.js.map +0 -1
  18. package/dist/server/services/payment-gateways/phone-pe.d.ts +0 -7
  19. package/dist/server/services/payment-gateways/phone-pe.d.ts.map +0 -1
  20. package/dist/server/services/payment-gateways/phone-pe.js +0 -63
  21. package/dist/server/services/payment-gateways/phone-pe.js.map +0 -1
  22. package/dist/wwwroot/routes/pg-i/paypal/create/index.d.ts +0 -2
  23. package/dist/wwwroot/routes/pg-i/paypal/create/index.d.ts.map +0 -1
  24. package/dist/wwwroot/routes/pg-i/paypal/create/index.js +0 -2
  25. package/dist/wwwroot/routes/pg-i/paypal/create/index.js.map +0 -1
  26. package/dist/wwwroot/routes/pg-i/phone-pe/create/index.d.ts +0 -8
  27. package/dist/wwwroot/routes/pg-i/phone-pe/create/index.d.ts.map +0 -1
  28. package/dist/wwwroot/routes/pg-i/phone-pe/create/index.js +0 -39
  29. package/dist/wwwroot/routes/pg-i/phone-pe/create/index.js.map +0 -1
  30. package/src/server/services/payment-gateways/Gateway.ts +0 -52
  31. package/src/server/services/payment-gateways/phone-pe.ts +0 -73
  32. package/src/wwwroot/routes/pg-i/paypal/create/index.tsx +0 -0
  33. package/src/wwwroot/routes/pg-i/phone-pe/create/index.tsx +0 -35
@@ -3,12 +3,12 @@ export default async function seedUI(config) {
3
3
  await config.saveVersion(UIPackageConfig, {
4
4
  package: "@social-mail/social-mail-client",
5
5
  view: "dist/web/AppIndex",
6
- version: "1.8.69"
6
+ version: "1.8.76"
7
7
  });
8
8
  await config.saveVersion(WebComponentsPackageConfig, {
9
9
  package: "@social-mail/web-components",
10
10
  view: "dist/index.js",
11
- version: "1.0.272"
11
+ version: "1.0.277"
12
12
  });
13
13
  await config.saveVersion(FAFreePackageConfig, {
14
14
  package: "@fortawesome/fontawesome-free",
@@ -0,0 +1,6 @@
1
+ import SocialMailContext from "../../model/SocialMailContext.js";
2
+ export default class StoreAccountService {
3
+ db: SocialMailContext;
4
+ getPendingCustomerAccount(): Promise<void>;
5
+ }
6
+ //# sourceMappingURL=StoreAccountService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreAccountService.d.ts","sourceRoot":"","sources":["../../../../src/server/services/store/StoreAccountService.ts"],"names":[],"mappings":"AACA,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AAGjE,MAAM,CAAC,OAAO,OAAO,mBAAmB;IAE5B,EAAE,EAAE,iBAAiB,CAAC;IAExB,yBAAyB;CAIlC"}
@@ -7,29 +7,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import Inject from "@entity-access/entity-access/dist/di/di.js";
10
+ import Inject, { RegisterScoped } from "@entity-access/entity-access/dist/di/di.js";
11
11
  import SocialMailContext from "../../model/SocialMailContext.js";
12
- import StoreConfigService from "../store/StoreConfigService.js";
13
- export class PaymentGateway {
14
- async createPaymentLink({ itemID, host, testMode = false, currency = "USD" }) {
15
- const { price, taxes } = await this.configService.getPrice(itemID, currency);
16
- const amount = Number(price.amount) + Number(price.taxAmount);
17
- return this.create({
18
- storeID: price.storeItem.storeID,
19
- amount,
20
- orderID: void 0,
21
- userID: void 0,
22
- host,
23
- testMode
24
- });
12
+ let StoreAccountService = class StoreAccountService {
13
+ async getPendingCustomerAccount() {
25
14
  }
26
- }
27
- __decorate([
28
- Inject,
29
- __metadata("design:type", StoreConfigService)
30
- ], PaymentGateway.prototype, "configService", void 0);
15
+ };
31
16
  __decorate([
32
17
  Inject,
33
18
  __metadata("design:type", SocialMailContext)
34
- ], PaymentGateway.prototype, "db", void 0);
35
- //# sourceMappingURL=Gateway.js.map
19
+ ], StoreAccountService.prototype, "db", void 0);
20
+ StoreAccountService = __decorate([
21
+ RegisterScoped
22
+ ], StoreAccountService);
23
+ export default StoreAccountService;
24
+ //# sourceMappingURL=StoreAccountService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StoreAccountService.js","sourceRoot":"","sources":["../../../../src/server/services/store/StoreAccountService.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,MAAM,EAAE,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AACpF,OAAO,iBAAiB,MAAM,kCAAkC,CAAC;AAGlD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IAIpC,KAAK,CAAC,yBAAyB;IAE/B,CAAC;CAEJ,CAAA;AANW;IAAP,MAAM;8BAAK,iBAAiB;+CAAC;AAFb,mBAAmB;IADvC,cAAc;GACM,mBAAmB,CAQvC;eARoB,mBAAmB"}