@abyss-project/main 1.6.0 → 1.7.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 (140) hide show
  1. package/dist/api/billing-trial.admin.api.d.ts +5 -0
  2. package/dist/api/billing-trial.admin.api.js +17 -0
  3. package/dist/api/billing-trial.admin.api.js.map +1 -0
  4. package/dist/api/billing.api.d.ts +3 -1
  5. package/dist/api/billing.api.js +10 -1
  6. package/dist/api/billing.api.js.map +1 -1
  7. package/dist/api/daily-digest.admin.api.d.ts +2 -1
  8. package/dist/api/daily-digest.admin.api.js +5 -1
  9. package/dist/api/daily-digest.admin.api.js.map +1 -1
  10. package/dist/api/daily-digest.api.d.ts +2 -2
  11. package/dist/api/daily-digest.api.js +1 -1
  12. package/dist/api/daily-digest.api.js.map +1 -1
  13. package/dist/api/index.d.ts +1 -0
  14. package/dist/api/index.js +1 -0
  15. package/dist/api/index.js.map +1 -1
  16. package/dist/api/organization-billing.api.d.ts +7 -2
  17. package/dist/api/organization-billing.api.js +13 -1
  18. package/dist/api/organization-billing.api.js.map +1 -1
  19. package/dist/api/report-notification-audience.api.d.ts +3 -0
  20. package/dist/api/report-notification-audience.api.js +13 -0
  21. package/dist/api/report-notification-audience.api.js.map +1 -0
  22. package/dist/api/report-notification-subscription.api.d.ts +3 -0
  23. package/dist/api/report-notification-subscription.api.js +13 -0
  24. package/dist/api/report-notification-subscription.api.js.map +1 -0
  25. package/dist/api/user-billing.api.d.ts +3 -2
  26. package/dist/api/user-billing.api.js +7 -1
  27. package/dist/api/user-billing.api.js.map +1 -1
  28. package/dist/api/wrapped-report.admin.api.d.ts +1 -2
  29. package/dist/api/wrapped-report.admin.api.js +1 -5
  30. package/dist/api/wrapped-report.admin.api.js.map +1 -1
  31. package/dist/constants/index.d.ts +2 -0
  32. package/dist/constants/index.js +2 -0
  33. package/dist/constants/index.js.map +1 -1
  34. package/dist/constants/profile-picture.constants.d.ts +1 -0
  35. package/dist/constants/profile-picture.constants.js +5 -0
  36. package/dist/constants/profile-picture.constants.js.map +1 -0
  37. package/dist/constants/support-ticket.constants.d.ts +1 -0
  38. package/dist/constants/support-ticket.constants.js +5 -0
  39. package/dist/constants/support-ticket.constants.js.map +1 -0
  40. package/dist/index.d.ts +27 -1
  41. package/dist/index.js +27 -1
  42. package/dist/index.js.map +1 -1
  43. package/dist/types/enum/abyss-application-event.enum.d.ts +5 -0
  44. package/dist/types/enum/abyss-application-event.enum.js +5 -0
  45. package/dist/types/enum/abyss-application-event.enum.js.map +1 -1
  46. package/dist/types/enum/digest-period.enum.d.ts +4 -0
  47. package/dist/types/enum/digest-period.enum.js +9 -0
  48. package/dist/types/enum/digest-period.enum.js.map +1 -0
  49. package/dist/types/enum/email-type.enum.d.ts +4 -1
  50. package/dist/types/enum/email-type.enum.js +3 -0
  51. package/dist/types/enum/email-type.enum.js.map +1 -1
  52. package/dist/types/enum/index.d.ts +5 -0
  53. package/dist/types/enum/index.js +5 -0
  54. package/dist/types/enum/index.js.map +1 -1
  55. package/dist/types/enum/organization-billing.enum.d.ts +2 -1
  56. package/dist/types/enum/organization-billing.enum.js +1 -0
  57. package/dist/types/enum/organization-billing.enum.js.map +1 -1
  58. package/dist/types/enum/report-notification-audience-mode.enum.d.ts +4 -0
  59. package/dist/types/enum/report-notification-audience-mode.enum.js +9 -0
  60. package/dist/types/enum/report-notification-audience-mode.enum.js.map +1 -0
  61. package/dist/types/enum/report-notification-type.enum.d.ts +5 -0
  62. package/dist/types/enum/report-notification-type.enum.js +10 -0
  63. package/dist/types/enum/report-notification-type.enum.js.map +1 -0
  64. package/dist/types/enum/support-ticket.enum.d.ts +1 -0
  65. package/dist/types/enum/support-ticket.enum.js +2 -0
  66. package/dist/types/enum/support-ticket.enum.js.map +1 -1
  67. package/dist/types/enum/trial-grant-source.enum.d.ts +4 -0
  68. package/dist/types/enum/trial-grant-source.enum.js +9 -0
  69. package/dist/types/enum/trial-grant-source.enum.js.map +1 -0
  70. package/dist/types/enum/trial-request-kind.enum.d.ts +4 -0
  71. package/dist/types/enum/trial-request-kind.enum.js +9 -0
  72. package/dist/types/enum/trial-request-kind.enum.js.map +1 -0
  73. package/dist/types/enum/user-notification-category.enum.js +2 -0
  74. package/dist/types/enum/user-notification-category.enum.js.map +1 -1
  75. package/dist/types/enum/user-notification-content-type.enum.d.ts +9 -0
  76. package/dist/types/enum/user-notification-content-type.enum.js +3 -1
  77. package/dist/types/enum/user-notification-content-type.enum.js.map +1 -1
  78. package/dist/types/interface/api/index.d.ts +8 -0
  79. package/dist/types/interface/api/index.js +8 -0
  80. package/dist/types/interface/api/index.js.map +1 -1
  81. package/dist/types/interface/api/requests/billing-trial.admin.request.d.ts +14 -0
  82. package/dist/types/interface/api/requests/billing-trial.admin.request.js +3 -0
  83. package/dist/types/interface/api/requests/billing-trial.admin.request.js.map +1 -0
  84. package/dist/types/interface/api/requests/billing-trial.request.d.ts +6 -0
  85. package/dist/types/interface/api/requests/billing-trial.request.js +3 -0
  86. package/dist/types/interface/api/requests/billing-trial.request.js.map +1 -0
  87. package/dist/types/interface/api/requests/daily-digest.request.d.ts +11 -0
  88. package/dist/types/interface/api/requests/index.d.ts +2 -0
  89. package/dist/types/interface/api/requests/index.js +2 -0
  90. package/dist/types/interface/api/requests/index.js.map +1 -1
  91. package/dist/types/interface/api/requests/organization-billing.request.d.ts +12 -0
  92. package/dist/types/interface/api/requests/report-notification-audience.request.d.ts +14 -0
  93. package/dist/types/interface/api/requests/report-notification-audience.request.js +3 -0
  94. package/dist/types/interface/api/requests/report-notification-audience.request.js.map +1 -0
  95. package/dist/types/interface/api/requests/report-notification-subscription.request.d.ts +12 -0
  96. package/dist/types/interface/api/requests/report-notification-subscription.request.js +3 -0
  97. package/dist/types/interface/api/requests/report-notification-subscription.request.js.map +1 -0
  98. package/dist/types/interface/api/requests/support-ticket-admin.request.d.ts +1 -0
  99. package/dist/types/interface/api/requests/user-billing.request.d.ts +3 -0
  100. package/dist/types/interface/api/requests/wrapped-report.request.d.ts +0 -10
  101. package/dist/types/interface/api/responses/billing-trial.admin.response.d.ts +14 -0
  102. package/dist/types/interface/api/responses/billing-trial.admin.response.js +3 -0
  103. package/dist/types/interface/api/responses/billing-trial.admin.response.js.map +1 -0
  104. package/dist/types/interface/api/responses/billing-trial.response.d.ts +27 -0
  105. package/dist/types/interface/api/responses/billing-trial.response.js +3 -0
  106. package/dist/types/interface/api/responses/billing-trial.response.js.map +1 -0
  107. package/dist/types/interface/api/responses/index.d.ts +2 -0
  108. package/dist/types/interface/api/responses/index.js +2 -0
  109. package/dist/types/interface/api/responses/index.js.map +1 -1
  110. package/dist/types/interface/api/responses/organization-billing.response.d.ts +7 -0
  111. package/dist/types/interface/api/responses/report-notification-audience.response.d.ts +10 -0
  112. package/dist/types/interface/api/responses/report-notification-audience.response.js +3 -0
  113. package/dist/types/interface/api/responses/report-notification-audience.response.js.map +1 -0
  114. package/dist/types/interface/api/responses/report-notification-subscription.response.d.ts +10 -0
  115. package/dist/types/interface/api/responses/report-notification-subscription.response.js +3 -0
  116. package/dist/types/interface/api/responses/report-notification-subscription.response.js.map +1 -0
  117. package/dist/types/interface/api/responses/user-billing.response.d.ts +17 -1
  118. package/dist/types/interface/index.d.ts +4 -0
  119. package/dist/types/interface/index.js +4 -0
  120. package/dist/types/interface/index.js.map +1 -1
  121. package/dist/types/interface/models/billing-trial-grant.model.d.ts +13 -0
  122. package/dist/types/interface/models/billing-trial-grant.model.js +3 -0
  123. package/dist/types/interface/models/billing-trial-grant.model.js.map +1 -0
  124. package/dist/types/interface/models/daily-digest.model.d.ts +4 -0
  125. package/dist/types/interface/models/index.d.ts +1 -0
  126. package/dist/types/interface/models/index.js +1 -0
  127. package/dist/types/interface/models/index.js.map +1 -1
  128. package/dist/types/interface/models/report-notification-audience.model.d.ts +13 -0
  129. package/dist/types/interface/models/report-notification-audience.model.js +3 -0
  130. package/dist/types/interface/models/report-notification-audience.model.js.map +1 -0
  131. package/dist/types/interface/models/report-notification-subscription.model.d.ts +12 -0
  132. package/dist/types/interface/models/report-notification-subscription.model.js +3 -0
  133. package/dist/types/interface/models/report-notification-subscription.model.js.map +1 -0
  134. package/dist/types/interface/models/support-ticket.model.d.ts +1 -0
  135. package/dist/types/interface/models/wrapped-report.model.d.ts +1 -2
  136. package/dist/types/interface/models/wrapped-report.model.js +0 -1
  137. package/dist/types/interface/models/wrapped-report.model.js.map +1 -1
  138. package/dist/utils/resolve-user.utils.js +7 -11
  139. package/dist/utils/resolve-user.utils.js.map +1 -1
  140. package/package.json +1 -1
@@ -31,6 +31,7 @@ export * from './billing-plan-request.model';
31
31
  export * from './billing-quota-cap.model';
32
32
  export * from './quota-reservation.model';
33
33
  export * from './storage-subtotal.model';
34
+ export * from './billing-trial-grant.model';
34
35
  export * from './billing-daily-snapshot.model';
35
36
  export * from './webhook-event.model';
36
37
  export * from './ledger-entry.model';
@@ -47,6 +47,7 @@ __exportStar(require("./billing-plan-request.model"), exports);
47
47
  __exportStar(require("./billing-quota-cap.model"), exports);
48
48
  __exportStar(require("./quota-reservation.model"), exports);
49
49
  __exportStar(require("./storage-subtotal.model"), exports);
50
+ __exportStar(require("./billing-trial-grant.model"), exports);
50
51
  __exportStar(require("./billing-daily-snapshot.model"), exports);
51
52
  __exportStar(require("./webhook-event.model"), exports);
52
53
  __exportStar(require("./ledger-entry.model"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,yDAAuC;AACvC,qEAAmD;AACnD,sDAAoC;AACpC,4DAA0C;AAC1C,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAG3C,oDAAkC;AAClC,+DAA6C;AAG7C,gDAA8B;AAG9B,iDAA+B;AAG/B,uDAAqC;AACrC,mEAAiD;AACjD,8DAA4C;AAG5C,wDAAsC;AACtC,0DAAwC;AACxC,qEAAmD;AACnD,qEAAmD;AACnD,uDAAqC;AACrC,kDAAgC;AAChC,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,iEAA+C;AAC/C,+DAA6C;AAC7C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,iEAA+C;AAC/C,wDAAsC;AACtC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,sDAAoC;AACpC,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6EAA2D;AAG3D,2DAAyC;AAGzC,4DAA0C;AAG1C,wDAAsC;AAGtC,yDAAuC;AACvC,iEAA+C;AAC/C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAGhD,qDAAmC;AAGnC,qDAAmC;AAGnC,8DAA4C;AAG5C,8DAA4C;AAG5C,2DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/interface/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,yDAAuC;AACvC,qEAAmD;AACnD,sDAAoC;AACpC,4DAA0C;AAC1C,wDAAsC;AACtC,wDAAsC;AACtC,uDAAqC;AACrC,4DAA0C;AAC1C,6DAA2C;AAG3C,oDAAkC;AAClC,+DAA6C;AAG7C,gDAA8B;AAG9B,iDAA+B;AAG/B,uDAAqC;AACrC,mEAAiD;AACjD,8DAA4C;AAG5C,wDAAsC;AACtC,0DAAwC;AACxC,qEAAmD;AACnD,qEAAmD;AACnD,uDAAqC;AACrC,kDAAgC;AAChC,6DAA2C;AAC3C,0DAAwC;AACxC,mEAAiD;AACjD,sDAAoC;AACpC,iEAA+C;AAC/C,+DAA6C;AAC7C,4DAA0C;AAC1C,4DAA0C;AAC1C,2DAAyC;AACzC,8DAA4C;AAC5C,iEAA+C;AAC/C,wDAAsC;AACtC,uDAAqC;AACrC,8DAA4C;AAC5C,+CAA6B;AAC7B,sDAAoC;AACpC,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,6EAA2D;AAG3D,2DAAyC;AAGzC,4DAA0C;AAG1C,wDAAsC;AAGtC,yDAAuC;AACvC,iEAA+C;AAC/C,oEAAkD;AAClD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAGhD,qDAAmC;AAGnC,qDAAmC;AAGnC,8DAA4C;AAG5C,8DAA4C;AAG5C,2DAAyC"}
@@ -0,0 +1,13 @@
1
+ import { ReportAudienceMode } from '../../enum/report-notification-audience-mode.enum';
2
+ import { ReportNotificationType } from '../../enum/report-notification-type.enum';
3
+ import { ReportScope } from './wrapped-report.model';
4
+ export interface IReportNotificationAudience {
5
+ id: string;
6
+ scope: ReportScope;
7
+ scopeId: string;
8
+ reportType: ReportNotificationType;
9
+ mode: ReportAudienceMode;
10
+ memberUserIds: string[];
11
+ createdAt?: Date;
12
+ updatedAt?: Date;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=report-notification-audience.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-notification-audience.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/report-notification-audience.model.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { ReportNotificationType } from '../../enum/report-notification-type.enum';
2
+ import { ReportScope } from './wrapped-report.model';
3
+ export interface IReportNotificationSubscription {
4
+ id: string;
5
+ userId: string;
6
+ scope: ReportScope;
7
+ scopeId: string;
8
+ reportType: ReportNotificationType;
9
+ enabled: boolean;
10
+ createdAt?: Date;
11
+ updatedAt?: Date;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=report-notification-subscription.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-notification-subscription.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/report-notification-subscription.model.ts"],"names":[],"mappings":""}
@@ -21,6 +21,7 @@ export interface ISupportTicket {
21
21
  service: AbyssService | null;
22
22
  contextType: string | null;
23
23
  contextId: string | null;
24
+ contextData?: Record<string, unknown> | null;
24
25
  resolvedAt: Date | null;
25
26
  resolvedReason: string | null;
26
27
  closedAt: Date | null;
@@ -1,8 +1,7 @@
1
1
  import { AbyssService } from '../../enum/abyss-service.enum';
2
2
  import { IReportApplicationInfo } from './report.model';
3
3
  export declare enum WrappedPeriod {
4
- YEARLY = "YEARLY",
5
- MONTHLY = "MONTHLY"
4
+ YEARLY = "YEARLY"
6
5
  }
7
6
  export declare enum ReportScope {
8
7
  USER = "USER",
@@ -4,7 +4,6 @@ exports.ReportScope = exports.WrappedPeriod = void 0;
4
4
  var WrappedPeriod;
5
5
  (function (WrappedPeriod) {
6
6
  WrappedPeriod["YEARLY"] = "YEARLY";
7
- WrappedPeriod["MONTHLY"] = "MONTHLY";
8
7
  })(WrappedPeriod || (exports.WrappedPeriod = WrappedPeriod = {}));
9
8
  var ReportScope;
10
9
  (function (ReportScope) {
@@ -1 +1 @@
1
- {"version":3,"file":"wrapped-report.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/wrapped-report.model.ts"],"names":[],"mappings":";;;AAGA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,oCAAmB,CAAA;AACrB,CAAC,EAHW,aAAa,6BAAb,aAAa,QAGxB;AAED,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,kCAAmB,CAAA;IACnB,0BAAW,CAAA;AACb,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB"}
1
+ {"version":3,"file":"wrapped-report.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/wrapped-report.model.ts"],"names":[],"mappings":";;;AAMA,IAAY,aAEX;AAFD,WAAY,aAAa;IACvB,kCAAiB,CAAA;AACnB,CAAC,EAFW,aAAa,6BAAb,aAAa,QAExB;AAED,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,kCAAmB,CAAA;IACnB,0BAAW,CAAA;AACb,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB"}
@@ -7,9 +7,12 @@ const resolveUserFromAbyssMain = async (params) => {
7
7
  const existingUser = (await UserModel.findByPk(userId, {
8
8
  transaction,
9
9
  }));
10
- let isAdmin = existingUser?.isAdmin ?? false;
11
- let personalApiKeyLookupHash = existingUser?.personalApiKeyLookupHash ?? null;
12
- let personalApiKeyRevokedAt = existingUser?.personalApiKeyRevokedAt ?? null;
10
+ if (existingUser) {
11
+ return existingUser;
12
+ }
13
+ let isAdmin = false;
14
+ let personalApiKeyLookupHash = null;
15
+ let personalApiKeyRevokedAt = null;
13
16
  try {
14
17
  const mainUser = await __1.AbyssCore.sdk.user.admin.get({ userId });
15
18
  isAdmin = mainUser.data.user.isAdmin;
@@ -17,7 +20,7 @@ const resolveUserFromAbyssMain = async (params) => {
17
20
  personalApiKeyRevokedAt = mainUser.data.user.personalApiKeyRevokedAt ?? null;
18
21
  }
19
22
  catch {
20
- logger.log(`Failed to fetch user ${userId} from abyss-main, defaulting to local mirror`);
23
+ logger.log(`Failed to fetch user ${userId} from abyss-main, lazy-creating with local defaults`);
21
24
  }
22
25
  const [user, created] = (await UserModel.findOrCreate({
23
26
  where: { id: userId },
@@ -27,13 +30,6 @@ const resolveUserFromAbyssMain = async (params) => {
27
30
  if (created) {
28
31
  logger.log(`Lazy-created user ${userId} (isAdmin: ${isAdmin})`);
29
32
  }
30
- else if (user.isAdmin !== isAdmin ||
31
- user.personalApiKeyLookupHash !== personalApiKeyLookupHash ||
32
- Boolean(user.personalApiKeyRevokedAt) !== Boolean(personalApiKeyRevokedAt)) {
33
- logger.log(`Syncing mirror for user ${userId} from abyss-main`);
34
- user.set({ isAdmin, personalApiKeyLookupHash, personalApiKeyRevokedAt });
35
- await user.save({ transaction });
36
- }
37
33
  return user;
38
34
  };
39
35
  exports.resolveUserFromAbyssMain = resolveUserFromAbyssMain;
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-user.utils.js","sourceRoot":"","sources":["../../src/utils/resolve-user.utils.ts"],"names":[],"mappings":";;;AAAA,0BAA+B;AAkDxB,MAAM,wBAAwB,GAAG,KAAK,EAC3C,MAA0B,EACV,EAAE;IAClB,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IAE1D,MAAM,YAAY,GAAG,CAAC,MAAM,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE;QACrD,WAAW;KACZ,CAAC,CAA+B,CAAC;IAElC,IAAI,OAAO,GAAG,YAAY,EAAE,OAAO,IAAI,KAAK,CAAC;IAC7C,IAAI,wBAAwB,GAAG,YAAY,EAAE,wBAAwB,IAAI,IAAI,CAAC;IAC9E,IAAI,uBAAuB,GAAG,YAAY,EAAE,uBAAuB,IAAI,IAAI,CAAC;IAC5E,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,aAAS,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;QAChE,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;QACrC,wBAAwB,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,wBAAwB,IAAI,IAAI,CAAC;QAC/E,uBAAuB,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,uBAAuB,IAAI,IAAI,CAAC;IAC/E,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,CAAC,GAAG,CAAC,wBAAwB,MAAM,8CAA8C,CAAC,CAAC;IAC3F,CAAC;IAED,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,MAAM,SAAS,CAAC,YAAY,CAAC;QACpD,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE;QACrB,QAAQ,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE;QACpF,WAAW;KACZ,CAAC,CAAmC,CAAC;IAEtC,IAAI,OAAO,EAAE,CAAC;QACZ,MAAM,CAAC,GAAG,CAAC,qBAAqB,MAAM,cAAc,OAAO,GAAG,CAAC,CAAC;IAClE,CAAC;SAAM,IACL,IAAI,CAAC,OAAO,KAAK,OAAO;QACxB,IAAI,CAAC,wBAAwB,KAAK,wBAAwB;QAG1D,OAAO,CAAC,IAAI,CAAC,uBAAuB,CAAC,KAAK,OAAO,CAAC,uBAAuB,CAAC,EAC1E,CAAC;QACD,MAAM,CAAC,GAAG,CAAC,2BAA2B,MAAM,kBAAkB,CAAC,CAAC;QAChE,IAAI,CAAC,GAAG,CAAC,EAAE,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,CAAC,CAAC;QACzE,MAAM,IAAI,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC;IACnC,CAAC;IAED,OAAO,IAAa,CAAC;AACvB,CAAC,CAAC;AA1CW,QAAA,wBAAwB,4BA0CnC"}
1
+ {"version":3,"file":"resolve-user.utils.js","sourceRoot":"","sources":["../../src/utils/resolve-user.utils.ts"],"names":[],"mappings":";;;AAAA,0BAA+B;AAmDxB,MAAM,wBAAwB,GAAG,KAAK,EAC3C,MAA0B,EACV,EAAE;IAClB,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IAE1D,MAAM,YAAY,GAAG,CAAC,MAAM,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE;QACrD,WAAW;KACZ,CAAC,CAA+B,CAAC;IAMlC,IAAI,YAAY,EAAE,CAAC;QACjB,OAAO,YAAqB,CAAC;IAC/B,CAAC;IAGD,IAAI,OAAO,GAAG,KAAK,CAAC;IACpB,IAAI,wBAAwB,GAAkB,IAAI,CAAC;IACnD,IAAI,uBAAuB,GAAgB,IAAI,CAAC;IAChD,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,aAAS,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC;QAChE,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;QACrC,wBAAwB,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,wBAAwB,IAAI,IAAI,CAAC;QAC/E,uBAAuB,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,uBAAuB,IAAI,IAAI,CAAC;IAC/E,CAAC;IAAC,MAAM,CAAC;QACP,MAAM,CAAC,GAAG,CAAC,wBAAwB,MAAM,qDAAqD,CAAC,CAAC;IAClG,CAAC;IAED,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,CAAC,MAAM,SAAS,CAAC,YAAY,CAAC;QACpD,KAAK,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE;QACrB,QAAQ,EAAE,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,EAAE,uBAAuB,EAAE;QACpF,WAAW;KACZ,CAAC,CAAmC,CAAC;IAEtC,IAAI,OAAO,EAAE,CAAC;QACZ,MAAM,CAAC,GAAG,CAAC,qBAAqB,MAAM,cAAc,OAAO,GAAG,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,IAAa,CAAC;AACvB,CAAC,CAAC;AAzCW,QAAA,wBAAwB,4BAyCnC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/main",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "Core package to interact with Abyss-Project",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",