@carlonicora/nestjs-neo4jsonapi 1.28.1 → 1.30.0

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 (85) hide show
  1. package/dist/config/base.config.d.ts.map +1 -1
  2. package/dist/config/base.config.js +7 -0
  3. package/dist/config/base.config.js.map +1 -1
  4. package/dist/config/interfaces/base.config.interface.d.ts +2 -0
  5. package/dist/config/interfaces/base.config.interface.d.ts.map +1 -1
  6. package/dist/config/interfaces/config.ai.interface.d.ts +6 -0
  7. package/dist/config/interfaces/config.ai.interface.d.ts.map +1 -1
  8. package/dist/config/interfaces/config.google.interface.d.ts +5 -0
  9. package/dist/config/interfaces/config.google.interface.d.ts.map +1 -0
  10. package/dist/config/interfaces/config.google.interface.js +3 -0
  11. package/dist/config/interfaces/config.google.interface.js.map +1 -0
  12. package/dist/config/interfaces/index.d.ts +1 -0
  13. package/dist/config/interfaces/index.d.ts.map +1 -1
  14. package/dist/config/interfaces/index.js +1 -0
  15. package/dist/config/interfaces/index.js.map +1 -1
  16. package/dist/core/llm/services/model.service.d.ts.map +1 -1
  17. package/dist/core/llm/services/model.service.js +38 -0
  18. package/dist/core/llm/services/model.service.js.map +1 -1
  19. package/dist/foundations/auth/auth.module.d.ts.map +1 -1
  20. package/dist/foundations/auth/auth.module.js +15 -4
  21. package/dist/foundations/auth/auth.module.js.map +1 -1
  22. package/dist/foundations/auth/controllers/auth.controller.d.ts +8 -0
  23. package/dist/foundations/auth/controllers/auth.controller.d.ts.map +1 -1
  24. package/dist/foundations/auth/controllers/auth.controller.js +10 -0
  25. package/dist/foundations/auth/controllers/auth.controller.js.map +1 -1
  26. package/dist/foundations/auth/controllers/auth.google.controller.d.ts +13 -0
  27. package/dist/foundations/auth/controllers/auth.google.controller.d.ts.map +1 -0
  28. package/dist/foundations/auth/controllers/auth.google.controller.js +61 -0
  29. package/dist/foundations/auth/controllers/auth.google.controller.js.map +1 -0
  30. package/dist/foundations/auth/dtos/auth.post.register.dto.d.ts +3 -0
  31. package/dist/foundations/auth/dtos/auth.post.register.dto.d.ts.map +1 -1
  32. package/dist/foundations/auth/dtos/auth.post.register.dto.js +15 -0
  33. package/dist/foundations/auth/dtos/auth.post.register.dto.js.map +1 -1
  34. package/dist/foundations/auth/services/auth.discord.service.d.ts +3 -1
  35. package/dist/foundations/auth/services/auth.discord.service.d.ts.map +1 -1
  36. package/dist/foundations/auth/services/auth.discord.service.js +24 -21
  37. package/dist/foundations/auth/services/auth.discord.service.js.map +1 -1
  38. package/dist/foundations/auth/services/auth.google.service.d.ts +28 -0
  39. package/dist/foundations/auth/services/auth.google.service.d.ts.map +1 -0
  40. package/dist/foundations/auth/services/auth.google.service.js +123 -0
  41. package/dist/foundations/auth/services/auth.google.service.js.map +1 -0
  42. package/dist/foundations/auth/services/auth.service.d.ts +15 -1
  43. package/dist/foundations/auth/services/auth.service.d.ts.map +1 -1
  44. package/dist/foundations/auth/services/auth.service.js +77 -2
  45. package/dist/foundations/auth/services/auth.service.js.map +1 -1
  46. package/dist/foundations/auth/services/pending-registration.service.d.ts +24 -0
  47. package/dist/foundations/auth/services/pending-registration.service.d.ts.map +1 -0
  48. package/dist/foundations/auth/services/pending-registration.service.js +64 -0
  49. package/dist/foundations/auth/services/pending-registration.service.js.map +1 -0
  50. package/dist/foundations/discord-user/services/discord-user.service.d.ts +3 -0
  51. package/dist/foundations/discord-user/services/discord-user.service.d.ts.map +1 -1
  52. package/dist/foundations/discord-user/services/discord-user.service.js +3 -0
  53. package/dist/foundations/discord-user/services/discord-user.service.js.map +1 -1
  54. package/dist/foundations/google-user/entities/google-user.d.ts +21 -0
  55. package/dist/foundations/google-user/entities/google-user.d.ts.map +1 -0
  56. package/dist/foundations/google-user/entities/google-user.js +28 -0
  57. package/dist/foundations/google-user/entities/google-user.js.map +1 -0
  58. package/dist/foundations/google-user/google-user.module.d.ts +3 -0
  59. package/dist/foundations/google-user/google-user.module.d.ts.map +1 -0
  60. package/dist/foundations/google-user/google-user.module.js +26 -0
  61. package/dist/foundations/google-user/google-user.module.js.map +1 -0
  62. package/dist/foundations/google-user/index.d.ts +6 -0
  63. package/dist/foundations/google-user/index.d.ts.map +1 -0
  64. package/dist/foundations/google-user/index.js +22 -0
  65. package/dist/foundations/google-user/index.js.map +1 -0
  66. package/dist/foundations/google-user/repositories/google-user.repository.d.ts +21 -0
  67. package/dist/foundations/google-user/repositories/google-user.repository.d.ts.map +1 -0
  68. package/dist/foundations/google-user/repositories/google-user.repository.js +50 -0
  69. package/dist/foundations/google-user/repositories/google-user.repository.js.map +1 -0
  70. package/dist/foundations/google-user/services/google-user.service.d.ts +21 -0
  71. package/dist/foundations/google-user/services/google-user.service.d.ts.map +1 -0
  72. package/dist/foundations/google-user/services/google-user.service.js +63 -0
  73. package/dist/foundations/google-user/services/google-user.service.js.map +1 -0
  74. package/dist/foundations/google-user/types/google.user.type.d.ts +7 -0
  75. package/dist/foundations/google-user/types/google.user.type.d.ts.map +1 -0
  76. package/dist/foundations/google-user/types/google.user.type.js +3 -0
  77. package/dist/foundations/google-user/types/google.user.type.js.map +1 -0
  78. package/dist/foundations/stripe/__tests__/mocks/stripe.mock.d.ts +62 -62
  79. package/dist/foundations/user/entities/user.entity.d.ts +3 -0
  80. package/dist/foundations/user/entities/user.entity.d.ts.map +1 -1
  81. package/dist/foundations/user/repositories/user.repository.d.ts +3 -0
  82. package/dist/foundations/user/repositories/user.repository.d.ts.map +1 -1
  83. package/dist/foundations/user/repositories/user.repository.js +6 -0
  84. package/dist/foundations/user/repositories/user.repository.js.map +1 -1
  85. package/package.json +2 -1
@@ -1 +1 @@
1
- {"version":3,"file":"discord-user.service.js","sourceRoot":"","sources":["../../../../src/foundations/discord-user/services/discord-user.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mCAAoC;AACpC,2CAAwC;AACxC,4CAAyC;AACzC,2CAAkD;AAClD,qCAA4C;AAC5C,qFAAgF;AAIzE,IAAM,kBAAkB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Q;YACjC,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAnCY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;qCAG+B,+CAAqB;QAC5B,qBAAc;QACX,2BAAiB;QACxB,uBAAU;GAL9B,kBAAkB,CAmC9B"}
1
+ {"version":3,"file":"discord-user.service.js","sourceRoot":"","sources":["../../../../src/foundations/discord-user/services/discord-user.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mCAAoC;AACpC,2CAAwC;AACxC,4CAAyC;AACzC,2CAAkD;AAClD,qCAA4C;AAC5C,qFAAgF;AAIzE,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;IAC7B,YACmB,qBAA4C,EAC5C,cAA8B,EAC9B,iBAAoC,EACpC,UAAsB;QAHtB,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,mBAAc,GAAd,cAAc,CAAgB;QAC9B,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,eAAU,GAAV,UAAU,CAAY;IACtC,CAAC;IAEJ,KAAK,CAAC,MAAM,CAAC,MAOZ;QACC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;QACnD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;QAE7C,MAAM,IAAI,CAAC,iBAAiB,CAAC,MAAM,CAAC;YAClC,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,IAAI,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE;SACvC,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC;YAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,KAAK,EAAE,MAAM,CAAC,WAAW,CAAC,KAAK,IAAI,MAAM,CAAC,WAAW,CAAC,EAAE;YACxD,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,QAAQ;YACjC,QAAQ,EAAE,IAAA,mBAAU,GAAE;YACtB,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,MAAM,EAAE,MAAM,CAAC,WAAW,CAAC,MAAM;YACjC,OAAO,EAAE,CAAC,eAAM,CAAC,oBAAoB,CAAC;YACtC,QAAQ,EAAE,IAAI;YACd,eAAe,EAAE,MAAM,CAAC,eAAe;YACvC,gBAAgB,EAAE,MAAM,CAAC,gBAAgB;YACzC,kBAAkB,EAAE,MAAM,CAAC,kBAAkB,IAAI,SAAS;SAC3D,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC;YACtC,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,SAAS,EAAE,MAAM,CAAC,WAAW,CAAC,EAAE;YAChC,IAAI,EAAE,MAAM,CAAC,WAAW,CAAC,QAAQ;YACjC,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AA7CY,gDAAkB;6BAAlB,kBAAkB;IAD9B,IAAA,mBAAU,GAAE;qCAG+B,+CAAqB;QAC5B,qBAAc;QACX,2BAAiB;QACxB,uBAAU;GAL9B,kBAAkB,CA6C9B"}
@@ -0,0 +1,21 @@
1
+ import { Entity } from "../../../common";
2
+ import { Company } from "../../company";
3
+ import { User } from "../../user";
4
+ export type GoogleUser = Entity & {
5
+ name: string;
6
+ googleId: string;
7
+ company: Company;
8
+ user: User;
9
+ };
10
+ export declare const GoogleUserDescriptor: import("../../../common").EntityDescriptor<GoogleUser, {
11
+ user: {
12
+ model: import("../../../common").DataMeta;
13
+ direction: "in";
14
+ relationship: string;
15
+ cardinality: "one";
16
+ dtoKey: string;
17
+ contextKey: string;
18
+ };
19
+ }>;
20
+ export type GoogleUserDescriptorType = typeof GoogleUserDescriptor;
21
+ //# sourceMappingURL=google-user.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-user.d.ts","sourceRoot":"","sources":["../../../../src/foundations/google-user/entities/google-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgB,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,IAAI,EAAY,MAAM,YAAY,CAAC;AAE5C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IAEjB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;CACZ,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;EAuB/B,CAAC;AAGH,MAAM,MAAM,wBAAwB,GAAG,OAAO,oBAAoB,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GoogleUserDescriptor = void 0;
4
+ const common_1 = require("../../../common");
5
+ const user_1 = require("../../user");
6
+ exports.GoogleUserDescriptor = (0, common_1.defineEntity)()({
7
+ // Meta properties
8
+ type: "googleusers",
9
+ endpoint: "googleusers",
10
+ nodeName: "googleuser",
11
+ labelName: "GoogleUser",
12
+ // Field definitions
13
+ fields: {
14
+ name: { type: "string", required: true },
15
+ googleId: { type: "string", required: true },
16
+ },
17
+ relationships: {
18
+ user: {
19
+ model: user_1.userMeta,
20
+ direction: "in",
21
+ relationship: "HAS_GOOGLE",
22
+ cardinality: "one",
23
+ dtoKey: "users",
24
+ contextKey: "userId",
25
+ },
26
+ },
27
+ });
28
+ //# sourceMappingURL=google-user.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-user.js","sourceRoot":"","sources":["../../../../src/foundations/google-user/entities/google-user.ts"],"names":[],"mappings":";;;AAAA,4CAAuD;AAEvD,qCAA4C;AAU/B,QAAA,oBAAoB,GAAG,IAAA,qBAAY,GAAc,CAAC;IAC7D,kBAAkB;IAClB,IAAI,EAAE,aAAa;IACnB,QAAQ,EAAE,aAAa;IACvB,QAAQ,EAAE,YAAY;IACtB,SAAS,EAAE,YAAY;IAEvB,oBAAoB;IACpB,MAAM,EAAE;QACN,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;QACxC,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE;KAC7C;IAED,aAAa,EAAE;QACb,IAAI,EAAE;YACJ,KAAK,EAAE,eAAQ;YACf,SAAS,EAAE,IAAI;YACf,YAAY,EAAE,YAAY;YAC1B,WAAW,EAAE,KAAK;YAClB,MAAM,EAAE,OAAO;YACf,UAAU,EAAE,QAAQ;SACrB;KACF;CACF,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare class GoogleUserModule {
2
+ }
3
+ //# sourceMappingURL=google-user.module.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-user.module.d.ts","sourceRoot":"","sources":["../../../src/foundations/google-user/google-user.module.ts"],"names":[],"mappings":"AAMA,qBAMa,gBAAgB;CAAG"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.GoogleUserModule = void 0;
10
+ const common_1 = require("@nestjs/common");
11
+ const company_1 = require("../company");
12
+ const user_1 = require("../user");
13
+ const google_user_repository_1 = require("./repositories/google-user.repository");
14
+ const google_user_service_1 = require("./services/google-user.service");
15
+ let GoogleUserModule = class GoogleUserModule {
16
+ };
17
+ exports.GoogleUserModule = GoogleUserModule;
18
+ exports.GoogleUserModule = GoogleUserModule = __decorate([
19
+ (0, common_1.Module)({
20
+ controllers: [],
21
+ providers: [google_user_repository_1.GoogleUserRepository, google_user_service_1.GoogleUserService],
22
+ exports: [google_user_repository_1.GoogleUserRepository, google_user_service_1.GoogleUserService],
23
+ imports: [company_1.CompanyModule, user_1.UserModule],
24
+ })
25
+ ], GoogleUserModule);
26
+ //# sourceMappingURL=google-user.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-user.module.js","sourceRoot":"","sources":["../../../src/foundations/google-user/google-user.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,wCAA2C;AAC3C,kCAAqC;AACrC,kFAA6E;AAC7E,wEAAmE;AAQ5D,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAAG,CAAA;AAAnB,4CAAgB;2BAAhB,gBAAgB;IAN5B,IAAA,eAAM,EAAC;QACN,WAAW,EAAE,EAAE;QACf,SAAS,EAAE,CAAC,6CAAoB,EAAE,uCAAiB,CAAC;QACpD,OAAO,EAAE,CAAC,6CAAoB,EAAE,uCAAiB,CAAC;QAClD,OAAO,EAAE,CAAC,uBAAa,EAAE,iBAAU,CAAC;KACrC,CAAC;GACW,gBAAgB,CAAG"}
@@ -0,0 +1,6 @@
1
+ export * from "./google-user.module";
2
+ export * from "./entities/google-user";
3
+ export * from "./repositories/google-user.repository";
4
+ export * from "./services/google-user.service";
5
+ export * from "./types/google.user.type";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/foundations/google-user/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./google-user.module"), exports);
18
+ __exportStar(require("./entities/google-user"), exports);
19
+ __exportStar(require("./repositories/google-user.repository"), exports);
20
+ __exportStar(require("./services/google-user.service"), exports);
21
+ __exportStar(require("./types/google.user.type"), exports);
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/foundations/google-user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC;AACvC,wEAAsD;AACtD,iEAA+C;AAC/C,2DAAyC"}
@@ -0,0 +1,21 @@
1
+ import { ClsService } from "nestjs-cls";
2
+ import { AbstractRepository, Neo4jService, SecurityService } from "../../../core";
3
+ import { GoogleUser, GoogleUserDescriptor } from "../entities/google-user";
4
+ export declare class GoogleUserRepository extends AbstractRepository<GoogleUser, typeof GoogleUserDescriptor.relationships> {
5
+ protected readonly descriptor: import("../../..").EntityDescriptor<GoogleUser, {
6
+ user: {
7
+ model: import("../../..").DataMeta;
8
+ direction: "in";
9
+ relationship: string;
10
+ cardinality: "one";
11
+ dtoKey: string;
12
+ contextKey: string;
13
+ };
14
+ }>;
15
+ constructor(neo4j: Neo4jService, securityService: SecurityService, clsService: ClsService);
16
+ protected buildReturnStatement(): string;
17
+ findByGoogleId(params: {
18
+ googleId: string;
19
+ }): Promise<GoogleUser>;
20
+ }
21
+ //# sourceMappingURL=google-user.repository.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-user.repository.d.ts","sourceRoot":"","sources":["../../../../src/foundations/google-user/repositories/google-user.repository.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGlF,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE3E,qBACa,oBAAqB,SAAQ,kBAAkB,CAAC,UAAU,EAAE,OAAO,oBAAoB,CAAC,aAAa,CAAC;IACjH,SAAS,CAAC,QAAQ,CAAC,UAAU;;;;;;;;;OAAwB;gBACzC,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,UAAU,EAAE,UAAU;IAIzF,SAAS,CAAC,oBAAoB,IAAI,MAAM;IAUlC,cAAc,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,UAAU,CAAC;CAcxE"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GoogleUserRepository = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const nestjs_cls_1 = require("nestjs-cls");
15
+ const core_1 = require("../../../core");
16
+ const role_1 = require("../../role");
17
+ const user_1 = require("../../user");
18
+ const google_user_1 = require("../entities/google-user");
19
+ let GoogleUserRepository = class GoogleUserRepository extends core_1.AbstractRepository {
20
+ constructor(neo4j, securityService, clsService) {
21
+ super(neo4j, securityService, clsService);
22
+ this.descriptor = google_user_1.GoogleUserDescriptor;
23
+ }
24
+ buildReturnStatement() {
25
+ return `
26
+ MATCH (googleuser:GoogleUser)-[:BELONGS_TO]->(googleuser_company:Company)
27
+ MATCH (googleuser)<-[:HAS_GOOGLE]-(googleuser_user:User)
28
+ OPTIONAL MATCH (googleuser_${user_1.userMeta.nodeName})-[:MEMBER_OF]->(googleuser_${user_1.userMeta.nodeName}_${role_1.roleMeta.nodeName}:${role_1.roleMeta.labelName})
29
+
30
+ RETURN googleuser, googleuser_company, googleuser_user, googleuser_company as googleuser_user_company, googleuser_${user_1.userMeta.nodeName}_${role_1.roleMeta.nodeName}
31
+ `;
32
+ }
33
+ async findByGoogleId(params) {
34
+ const query = this.neo4j.initQuery({ serialiser: this.descriptor.model });
35
+ query.queryParams = {
36
+ googleId: params.googleId,
37
+ };
38
+ query.query = `
39
+ MATCH (${google_user_1.GoogleUserDescriptor.model.nodeName}:${google_user_1.GoogleUserDescriptor.model.labelName} { googleId: $googleId })
40
+ ${this.buildReturnStatement()}
41
+ `;
42
+ return this.neo4j.readOne(query);
43
+ }
44
+ };
45
+ exports.GoogleUserRepository = GoogleUserRepository;
46
+ exports.GoogleUserRepository = GoogleUserRepository = __decorate([
47
+ (0, common_1.Injectable)(),
48
+ __metadata("design:paramtypes", [core_1.Neo4jService, core_1.SecurityService, nestjs_cls_1.ClsService])
49
+ ], GoogleUserRepository);
50
+ //# sourceMappingURL=google-user.repository.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-user.repository.js","sourceRoot":"","sources":["../../../../src/foundations/google-user/repositories/google-user.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,2CAAwC;AACxC,wCAAkF;AAClF,qCAAsC;AACtC,qCAAsC;AACtC,yDAA2E;AAGpE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,yBAAyE;IAEjH,YAAY,KAAmB,EAAE,eAAgC,EAAE,UAAsB;QACvF,KAAK,CAAC,KAAK,EAAE,eAAe,EAAE,UAAU,CAAC,CAAC;QAFzB,eAAU,GAAG,kCAAoB,CAAC;IAGrD,CAAC;IAES,oBAAoB;QAC5B,OAAO;;;mCAGwB,eAAQ,CAAC,QAAQ,+BAA+B,eAAQ,CAAC,QAAQ,IAAI,eAAQ,CAAC,QAAQ,IAAI,eAAQ,CAAC,SAAS;;0HAErB,eAAQ,CAAC,QAAQ,IAAI,eAAQ,CAAC,QAAQ;KAC3J,CAAC;IACJ,CAAC;IAED,KAAK,CAAC,cAAc,CAAC,MAA4B;QAC/C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC;QAE1E,KAAK,CAAC,WAAW,GAAG;YAClB,QAAQ,EAAE,MAAM,CAAC,QAAQ;SAC1B,CAAC;QAEF,KAAK,CAAC,KAAK,GAAG;eACH,kCAAoB,CAAC,KAAK,CAAC,QAAQ,IAAI,kCAAoB,CAAC,KAAK,CAAC,SAAS;QAClF,IAAI,CAAC,oBAAoB,EAAE;KAC9B,CAAC;QAEF,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;IACnC,CAAC;CACF,CAAA;AA9BY,oDAAoB;+BAApB,oBAAoB;IADhC,IAAA,mBAAU,GAAE;qCAGQ,mBAAY,EAAmB,sBAAe,EAAc,uBAAU;GAF9E,oBAAoB,CA8BhC"}
@@ -0,0 +1,21 @@
1
+ import { ClsService } from "nestjs-cls";
2
+ import { CompanyRepository } from "../../company";
3
+ import { UserRepository } from "../../user";
4
+ import { GoogleUserRepository } from "../repositories/google-user.repository";
5
+ import { googleUser } from "../types/google.user.type";
6
+ export declare class GoogleUserService {
7
+ private readonly googleUserRepository;
8
+ private readonly userRepository;
9
+ private readonly companyRepository;
10
+ private readonly clsService;
11
+ constructor(googleUserRepository: GoogleUserRepository, userRepository: UserRepository, companyRepository: CompanyRepository, clsService: ClsService);
12
+ create(params: {
13
+ userId: string;
14
+ companyId: string;
15
+ userDetails: googleUser;
16
+ termsAcceptedAt?: string;
17
+ marketingConsent?: boolean;
18
+ marketingConsentAt?: string | null;
19
+ }): Promise<void>;
20
+ }
21
+ //# sourceMappingURL=google-user.service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-user.service.d.ts","sourceRoot":"","sources":["../../../../src/foundations/google-user/services/google-user.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,wCAAwC,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,qBACa,iBAAiB;IAE1B,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IACrC,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAHV,oBAAoB,EAAE,oBAAoB,EAC1C,cAAc,EAAE,cAAc,EAC9B,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU;IAGnC,MAAM,CAAC,MAAM,EAAE;QACnB,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,UAAU,CAAC;QACxB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;QAC3B,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACpC,GAAG,OAAO,CAAC,IAAI,CAAC;CA8BlB"}
@@ -0,0 +1,63 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GoogleUserService = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const crypto_1 = require("crypto");
15
+ const nestjs_cls_1 = require("nestjs-cls");
16
+ const common_2 = require("../../../common");
17
+ const company_1 = require("../../company");
18
+ const user_1 = require("../../user");
19
+ const google_user_repository_1 = require("../repositories/google-user.repository");
20
+ let GoogleUserService = class GoogleUserService {
21
+ constructor(googleUserRepository, userRepository, companyRepository, clsService) {
22
+ this.googleUserRepository = googleUserRepository;
23
+ this.userRepository = userRepository;
24
+ this.companyRepository = companyRepository;
25
+ this.clsService = clsService;
26
+ }
27
+ async create(params) {
28
+ this.clsService.set("companyId", params.companyId);
29
+ this.clsService.set("userId", params.userId);
30
+ await this.companyRepository.create({
31
+ companyId: params.companyId,
32
+ name: `${params.userDetails.name}`,
33
+ });
34
+ await this.userRepository.create({
35
+ userId: params.userId,
36
+ email: params.userDetails.email ?? params.userDetails.id,
37
+ name: params.userDetails.name,
38
+ password: (0, crypto_1.randomUUID)(),
39
+ companyId: params.companyId,
40
+ avatar: params.userDetails.picture,
41
+ roleIds: [common_2.RoleId.CompanyAdministrator],
42
+ isActive: true,
43
+ termsAcceptedAt: params.termsAcceptedAt,
44
+ marketingConsent: params.marketingConsent,
45
+ marketingConsentAt: params.marketingConsentAt ?? undefined,
46
+ });
47
+ await this.googleUserRepository.create({
48
+ id: params.userId,
49
+ googleId: params.userDetails.id,
50
+ name: params.userDetails.name,
51
+ user: params.userId,
52
+ });
53
+ }
54
+ };
55
+ exports.GoogleUserService = GoogleUserService;
56
+ exports.GoogleUserService = GoogleUserService = __decorate([
57
+ (0, common_1.Injectable)(),
58
+ __metadata("design:paramtypes", [google_user_repository_1.GoogleUserRepository,
59
+ user_1.UserRepository,
60
+ company_1.CompanyRepository,
61
+ nestjs_cls_1.ClsService])
62
+ ], GoogleUserService);
63
+ //# sourceMappingURL=google-user.service.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google-user.service.js","sourceRoot":"","sources":["../../../../src/foundations/google-user/services/google-user.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mCAAoC;AACpC,2CAAwC;AACxC,4CAAyC;AACzC,2CAAkD;AAClD,qCAA4C;AAC5C,mFAA8E;AAIvE,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAC5B,YACmB,oBAA0C,EAC1C,cAA8B,EAC9B,iBAAoC,EACpC,UAAsB;QAHtB,yBAAoB,GAApB,oBAAoB,CAAsB;QAC1C,mBAAc,GAAd,cAAc,CAAgB;QAC9B,sBAAiB,GAAjB,iBAAiB,CAAmB;QACpC,eAAU,GAAV,UAAU,CAAY;IACtC,CAAC;IAEJ,KAAK,CAAC,MAAM,CAAC,MAOZ;QACC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AoB;QAC1B,qBAAc;QACX,2BAAiB;QACxB,uBAAU;GAL9B,iBAAiB,CA6C7B"}
@@ -0,0 +1,7 @@
1
+ export type googleUser = {
2
+ id: string;
3
+ name: string;
4
+ email?: string;
5
+ picture: string | null;
6
+ };
7
+ //# sourceMappingURL=google.user.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google.user.type.d.ts","sourceRoot":"","sources":["../../../../src/foundations/google-user/types/google.user.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=google.user.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"google.user.type.js","sourceRoot":"","sources":["../../../../src/foundations/google-user/types/google.user.type.ts"],"names":[],"mappings":""}
@@ -6,112 +6,112 @@
6
6
  */
7
7
  export declare const createMockStripeClient: () => {
8
8
  customers: {
9
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
10
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
11
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
12
- del: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
13
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
9
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
10
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
11
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
12
+ del: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
13
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
14
14
  };
15
15
  subscriptions: {
16
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
17
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
18
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
19
- cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
20
- pause: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
21
- resume: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
22
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
16
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
17
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
18
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
19
+ cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
20
+ pause: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
21
+ resume: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
22
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
23
23
  };
24
24
  products: {
25
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
26
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
27
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
28
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
25
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
26
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
27
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
28
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
29
29
  };
30
30
  prices: {
31
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
32
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
33
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
34
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
31
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
32
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
33
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
34
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
35
35
  };
36
36
  paymentIntents: {
37
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
38
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
39
- confirm: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
40
- cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
37
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
38
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
39
+ confirm: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
40
+ cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
41
41
  };
42
42
  setupIntents: {
43
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
44
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
43
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
44
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
45
45
  };
46
46
  paymentMethods: {
47
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
48
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
49
- attach: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
50
- detach: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
47
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
48
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
49
+ attach: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
50
+ detach: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
51
51
  };
52
52
  invoices: {
53
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
54
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
55
- pay: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
56
- voidInvoice: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
57
- retrieveUpcoming: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
58
- createPreview: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
53
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
54
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
55
+ pay: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
56
+ voidInvoice: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
57
+ retrieveUpcoming: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
58
+ createPreview: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
59
59
  };
60
60
  billingPortal: {
61
61
  sessions: {
62
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
62
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
63
63
  };
64
64
  };
65
65
  webhooks: {
66
- constructEvent: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
66
+ constructEvent: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
67
67
  };
68
68
  v2: {
69
69
  billing: {
70
70
  meterEvents: {
71
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
71
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
72
72
  };
73
73
  meterEventSummaries: {
74
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
74
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
75
75
  };
76
76
  };
77
77
  };
78
78
  billing: {
79
79
  meters: {
80
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
81
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
82
- listEventSummaries: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
80
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
81
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
82
+ listEventSummaries: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
83
83
  };
84
84
  };
85
85
  coupons: {
86
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
87
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
88
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
89
- del: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
90
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
86
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
87
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
88
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
89
+ del: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
90
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
91
91
  };
92
92
  refunds: {
93
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
94
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
95
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
96
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
97
- cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
93
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
94
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
95
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
96
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
97
+ cancel: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
98
98
  };
99
99
  taxRates: {
100
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
101
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
102
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
103
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
100
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
101
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
102
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
103
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
104
104
  };
105
105
  tax: {
106
106
  calculations: {
107
- create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
107
+ create: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
108
108
  };
109
109
  };
110
110
  disputes: {
111
- retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
112
- update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
113
- close: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
114
- list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.16/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
111
+ retrieve: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
112
+ update: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
113
+ close: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
114
+ list: import("vitest").Mock<import(".pnpm/@vitest+spy@4.0.17/node_modules/@vitest/spy", { with: { "resolution-mode": "import" } }).Procedure>;
115
115
  };
116
116
  };
117
117
  /**
@@ -16,6 +16,9 @@ export type User = Entity & {
16
16
  isDeleted: boolean;
17
17
  code?: string;
18
18
  codeExpiration?: Date;
19
+ termsAcceptedAt?: Date;
20
+ marketingConsent?: boolean;
21
+ marketingConsentAt?: Date;
19
22
  role?: Role[];
20
23
  company?: Company;
21
24
  module?: Module[];
@@ -1 +1 @@
1
- {"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["../../../../src/foundations/user/entities/user.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AAEvD,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,QAAQ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AC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC"}
@@ -69,6 +69,9 @@ export declare class UserRepository implements OnModuleInit {
69
69
  roleIds: string[];
70
70
  isActive?: boolean;
71
71
  phone?: string;
72
+ termsAcceptedAt?: string;
73
+ marketingConsent?: boolean;
74
+ marketingConsentAt?: string;
72
75
  }): Promise<User>;
73
76
  resetCode(params: {
74
77
  userId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"user.repository.d.ts","sourceRoot":"","sources":["../../../../src/foundations/user/repositories/user.repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExC,OAAO,EAAE,sBAAsB,EAAE,MAAM,2DAA2D,CAAC;AACnG,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAK1E,OAAO,EAAE,IAAI,EAAE,MAAM,iCAAiC,CAAC;AAGvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAE5E,qBACa,cAAe,YAAW,YAAY;IAE/C,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,GAAG;IACpB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;gBAFjB,KAAK,EAAE,YAAY,EACnB,GAAG,EAAE,UAAU,EACf,iBAAiB,EAAE,iBAAiB;IAGjD,YAAY;IAUZ,gBAAgB,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE;IAiB3C,eAAe,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAkB1D,YAAY,CAAC,MAAM,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAuCvD,YAAY,CAA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