@aepstore-dev/contracts 1.106.0 → 1.108.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.
package/proto/mail.proto CHANGED
@@ -1,54 +1,54 @@
1
- syntax = "proto3";
2
-
3
- package mail.v1;
4
-
5
- // Legacy mail-service used @EventPattern (fire-and-forget). In the new gRPC
6
- // stack each becomes a unary RPC that returns an Ack. Callers ignore the
7
- // response if they don't care about delivery.
8
- service MailService {
9
- rpc SendReg(SendRegRequest) returns (MailAck);
10
- rpc Send2fa(Send2faRequest) returns (MailAck);
11
- rpc SendPasswordReset(SendPasswordResetRequest) returns (MailAck);
12
- rpc SendRegistrationConfirm(SendRegistrationConfirmRequest) returns (MailAck);
13
-
14
- // GDPR data-export delivery — tasks-service fires after the JSON dump
15
- // lands in S3; mail-service sends the signed URL with a sensible TTL note.
16
- rpc SendDataExportReady(SendDataExportReadyRequest) returns (MailAck);
17
- }
18
-
19
- message MailAck {
20
- bool queued = 1;
21
- }
22
-
23
- message SendRegRequest {
24
- string user_id = 1;
25
- string email = 2;
26
- string username = 3;
27
- string full_name = 4;
28
- }
29
-
30
- message Send2faRequest {
31
- string email = 1;
32
- string code = 2;
33
- string username = 3;
34
- }
35
-
36
- message SendPasswordResetRequest {
37
- string email = 1;
38
- string code = 2;
39
- string username = 3;
40
- }
41
-
42
- message SendRegistrationConfirmRequest {
43
- string email = 1;
44
- string code = 2;
45
- string username = 3;
46
- }
47
-
48
- message SendDataExportReadyRequest {
49
- string email = 1;
50
- string username = 2;
51
- string file_url = 3; // signed S3 URL
52
- int32 url_ttl_hours = 4; // for the message body
53
- int32 file_size = 5;
54
- }
1
+ syntax = "proto3";
2
+
3
+ package mail.v1;
4
+
5
+ // Legacy mail-service used @EventPattern (fire-and-forget). In the new gRPC
6
+ // stack each becomes a unary RPC that returns an Ack. Callers ignore the
7
+ // response if they don't care about delivery.
8
+ service MailService {
9
+ rpc SendReg(SendRegRequest) returns (MailAck);
10
+ rpc Send2fa(Send2faRequest) returns (MailAck);
11
+ rpc SendPasswordReset(SendPasswordResetRequest) returns (MailAck);
12
+ rpc SendRegistrationConfirm(SendRegistrationConfirmRequest) returns (MailAck);
13
+
14
+ // GDPR data-export delivery — tasks-service fires after the JSON dump
15
+ // lands in S3; mail-service sends the signed URL with a sensible TTL note.
16
+ rpc SendDataExportReady(SendDataExportReadyRequest) returns (MailAck);
17
+ }
18
+
19
+ message MailAck {
20
+ bool queued = 1;
21
+ }
22
+
23
+ message SendRegRequest {
24
+ string user_id = 1;
25
+ string email = 2;
26
+ string username = 3;
27
+ string full_name = 4;
28
+ }
29
+
30
+ message Send2faRequest {
31
+ string email = 1;
32
+ string code = 2;
33
+ string username = 3;
34
+ }
35
+
36
+ message SendPasswordResetRequest {
37
+ string email = 1;
38
+ string code = 2;
39
+ string username = 3;
40
+ }
41
+
42
+ message SendRegistrationConfirmRequest {
43
+ string email = 1;
44
+ string code = 2;
45
+ string username = 3;
46
+ }
47
+
48
+ message SendDataExportReadyRequest {
49
+ string email = 1;
50
+ string username = 2;
51
+ string file_url = 3; // signed S3 URL
52
+ int32 url_ttl_hours = 4; // for the message body
53
+ int32 file_size = 5;
54
+ }