@abyss-project/main 27.6.0 → 27.8.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 (61) hide show
  1. package/dist/api/email-send.admin.api.d.ts +10 -0
  2. package/dist/api/email-send.admin.api.js +30 -0
  3. package/dist/api/email-send.admin.api.js.map +1 -0
  4. package/dist/api/index.d.ts +1 -0
  5. package/dist/api/index.js +1 -0
  6. package/dist/api/index.js.map +1 -1
  7. package/dist/billing-metric-label/billing-metric-label.labels.d.ts +2 -0
  8. package/dist/billing-metric-label/billing-metric-label.labels.js +2 -0
  9. package/dist/billing-metric-label/billing-metric-label.labels.js.map +1 -1
  10. package/dist/constants/billing-catalog.constants.js +3 -1
  11. package/dist/constants/billing-catalog.constants.js.map +1 -1
  12. package/dist/constants/catalog-plan-quotas.constants.js +3 -0
  13. package/dist/constants/catalog-plan-quotas.constants.js.map +1 -1
  14. package/dist/constants/enforcement-registry.constants.d.ts +1 -1
  15. package/dist/constants/enforcement-registry.constants.js +6 -0
  16. package/dist/constants/enforcement-registry.constants.js.map +1 -1
  17. package/dist/constants/public-plans.constants.js +21 -0
  18. package/dist/constants/public-plans.constants.js.map +1 -1
  19. package/dist/constants/quota-metric-kind.constants.js +1 -0
  20. package/dist/constants/quota-metric-kind.constants.js.map +1 -1
  21. package/dist/index.d.ts +14 -0
  22. package/dist/index.js +14 -0
  23. package/dist/index.js.map +1 -1
  24. package/dist/types/enum/abyss-application-event.enum.d.ts +6 -0
  25. package/dist/types/enum/abyss-application-event.enum.js +6 -0
  26. package/dist/types/enum/abyss-application-event.enum.js.map +1 -1
  27. package/dist/types/enum/api-error.enum.d.ts +3 -1
  28. package/dist/types/enum/api-error.enum.js +2 -0
  29. package/dist/types/enum/api-error.enum.js.map +1 -1
  30. package/dist/types/enum/email-send.enum.d.ts +37 -0
  31. package/dist/types/enum/email-send.enum.js +47 -0
  32. package/dist/types/enum/email-send.enum.js.map +1 -0
  33. package/dist/types/enum/index.d.ts +1 -0
  34. package/dist/types/enum/index.js +1 -0
  35. package/dist/types/enum/index.js.map +1 -1
  36. package/dist/types/enum/organization-billing.enum.d.ts +1 -0
  37. package/dist/types/enum/organization-billing.enum.js +1 -0
  38. package/dist/types/enum/organization-billing.enum.js.map +1 -1
  39. package/dist/types/enum/project-application-access-permission.enum.d.ts +10 -1
  40. package/dist/types/enum/project-application-access-permission.enum.js +9 -0
  41. package/dist/types/enum/project-application-access-permission.enum.js.map +1 -1
  42. package/dist/types/interface/api/index.d.ts +2 -0
  43. package/dist/types/interface/api/index.js +2 -0
  44. package/dist/types/interface/api/index.js.map +1 -1
  45. package/dist/types/interface/api/requests/email-send.admin.request.d.ts +32 -0
  46. package/dist/types/interface/api/requests/email-send.admin.request.js +3 -0
  47. package/dist/types/interface/api/requests/email-send.admin.request.js.map +1 -0
  48. package/dist/types/interface/api/requests/mailing.admin.request.d.ts +3 -0
  49. package/dist/types/interface/api/requests/user-notification.admin.request.d.ts +6 -0
  50. package/dist/types/interface/api/responses/email-send.admin.response.d.ts +16 -0
  51. package/dist/types/interface/api/responses/email-send.admin.response.js +3 -0
  52. package/dist/types/interface/api/responses/email-send.admin.response.js.map +1 -0
  53. package/dist/types/interface/api/responses/mailing.admin.response.d.ts +2 -1
  54. package/dist/types/interface/index.d.ts +1 -0
  55. package/dist/types/interface/index.js +1 -0
  56. package/dist/types/interface/index.js.map +1 -1
  57. package/dist/types/interface/models/email-send.model.d.ts +34 -0
  58. package/dist/types/interface/models/email-send.model.js +3 -0
  59. package/dist/types/interface/models/email-send.model.js.map +1 -0
  60. package/dist/types/interface/models/invitation.model.d.ts +2 -0
  61. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
+ import { EmailSendScope } from '../../../enum';
1
2
  import { IResponse } from '../type-message/response';
2
3
  export interface ISendMailingAdminData {
3
4
  sent: boolean;
4
- rateLimited: boolean;
5
+ refusedScope?: EmailSendScope;
5
6
  }
6
7
  export type ISendMailingAdminResponse = IResponse<ISendMailingAdminData>;
@@ -82,3 +82,4 @@ export * from './models/automation-email-delivery.model';
82
82
  export * from './models/funding.model';
83
83
  export * from './models/billing-subscription-event.model';
84
84
  export * from './models/loyalty-rule.model';
85
+ export * from './models/email-send.model';
@@ -98,4 +98,5 @@ __exportStar(require("./models/automation-email-delivery.model"), exports);
98
98
  __exportStar(require("./models/funding.model"), exports);
99
99
  __exportStar(require("./models/billing-subscription-event.model"), exports);
100
100
  __exportStar(require("./models/loyalty-rule.model"), exports);
101
+ __exportStar(require("./models/email-send.model"), exports);
101
102
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/interface/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,yDAAuC;AACvC,gEAA8C;AAC9C,4EAA0D;AAC1D,6DAA2C;AAC3C,mEAAiD;AACjD,yEAAuD;AACvD,+DAA6C;AAC7C,+DAA6C;AAC7C,8DAA4C;AAC5C,mEAAiD;AACjD,oEAAkD;AAGlD,2DAAyC;AACzC,sEAAoD;AAGpD,wCAAsB;AAGtB,uDAAqC;AAGrC,wDAAsC;AACtC,gEAA8C;AAC9C,8DAA4C;AAC5C,oEAAkD;AAClD,oEAAkD;AAClD,8EAA4D;AAC5D,kFAAgE;AAGhE,8DAA4C;AAC5C,0EAAwD;AACxD,qEAAmD;AACnD,gFAA8D;AAC9D,mEAAiD;AAGjD,+DAA6C;AAC7C,iEAA+C;AAC/C,uEAAqD;AACrD,4EAA0D;AAC1D,4EAA0D;AAC1D,8DAA4C;AAC5C,yDAAuC;AACvC,8DAA4C;AAC5C,oEAAkD;AAClD,6DAA2C;AAC3C,oEAAkD;AAClD,iEAA+C;AAC/C,0EAAwD;AACxD,6DAA2C;AAC3C,sEAAoD;AACpD,mEAAiD;AACjD,mEAAiD;AACjD,kEAAgD;AAChD,qEAAmD;AACnD,wEAAsD;AACtD,+DAA6C;AAC7C,8DAA4C;AAC5C,qEAA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2C;AAC3C,sEAAoD;AACpD,mEAAiD;AACjD,mEAAiD;AACjD,kEAAgD;AAChD,qEAAmD;AACnD,wEAAsD;AACtD,+DAA6C;AAC7C,8DAA4C;AAC5C,qEAAmD;AACnD,sDAAoC;AACpC,6DAA2C;AAC3C,qEAAmD;AACnD,iFAA+D;AAC/D,iEAA+C;AAC/C,oFAAkE;AAGlE,kEAAgD;AAGhD,mEAAiD;AAGjD,+DAA6C;AAO7C,gEAA8C;AAG9C,gEAA8C;AAC9C,wEAAsD;AACtD,2EAAyD;AACzD,oEAAkD;AAClD,yEAAuD;AAGvD,4DAA0C;AAG1C,4DAA0C;AAG1C,qEAAmD;AAKnD,kEAAgD;AAGhD,iEAA+C;AAC/C,4DAA0C;AAG1C,yDAAuC;AACvC,yDAAuC;AAGvC,gEAA8C;AAC9C,qEAAmD;AACnD,wCAAsB;AAGtB,0DAAwC;AAGxC,+DAA6C;AAG7C,0EAAwD;AACxD,2EAAyD;AAGzD,yDAAuC;AAGvC,4EAA0D;AAC1D,8DAA4C;AAG5C,4DAA0C"}
@@ -0,0 +1,34 @@
1
+ import { EmailOriginKind, EmailSendBlockOrigin, EmailSendBlockScope, EmailSendOverrideScope, EmailSendScope } from '../../enum/email-send.enum';
2
+ import { EmailType } from '../../enum/email-type.enum';
3
+ export interface IEmailSendBlock {
4
+ id: string;
5
+ scope: EmailSendBlockScope;
6
+ identifier: string;
7
+ origin: EmailSendBlockOrigin;
8
+ reason: string;
9
+ createdByUserId: string | null;
10
+ liftedAt: Date | null;
11
+ liftedByUserId: string | null;
12
+ createdAt?: Date;
13
+ updatedAt?: Date;
14
+ }
15
+ export interface IEmailSendRefusal {
16
+ id: string;
17
+ emailType: EmailType;
18
+ scope: EmailSendScope;
19
+ originKind: EmailOriginKind;
20
+ actorUserId: string | null;
21
+ actorOrganizationId: string | null;
22
+ actorIpHash: string | null;
23
+ recipientHash: string;
24
+ createdAt?: Date;
25
+ }
26
+ export interface IEmailSendOverride {
27
+ id: string;
28
+ scope: EmailSendOverrideScope;
29
+ identifier: string;
30
+ dailyCap: number;
31
+ updatedByUserId: string | null;
32
+ createdAt?: Date;
33
+ updatedAt?: Date;
34
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=email-send.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"email-send.model.js","sourceRoot":"","sources":["../../../../src/types/interface/models/email-send.model.ts"],"names":[],"mappings":""}
@@ -34,6 +34,8 @@ export interface IInvitation<T extends InvitationType = InvitationType> {
34
34
  acceptedAt: string | null;
35
35
  declinedAt: string | null;
36
36
  cancelledAt: string | null;
37
+ resendCount?: number;
38
+ lastSentAt?: string | null;
37
39
  createdAt?: string;
38
40
  updatedAt?: string;
39
41
  invitedBy?: IUser;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/main",
3
- "version": "27.6.0",
3
+ "version": "27.8.0",
4
4
  "description": "Core package to interact with Abyss-Project",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",