@aepstore-dev/contracts 1.66.0 → 1.67.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/gen/activity.js +1 -1
- package/gen/activity.ts +270 -270
- package/gen/auth.js +1 -1
- package/gen/auth.ts +323 -323
- package/gen/mail.js +1 -1
- package/gen/mail.ts +121 -121
- package/gen/payments.js +1 -1
- package/gen/payments.ts +1048 -1048
- package/gen/products.d.ts +9 -0
- package/gen/products.js +1 -1
- package/gen/products.ts +616 -607
- package/gen/taxonomy.js +1 -1
- package/gen/taxonomy.ts +185 -185
- package/gen/upload.js +1 -1
- package/gen/upload.ts +287 -287
- package/gen/users.js +1 -1
- package/gen/users.ts +1026 -1026
- package/package.json +1 -1
- package/proto/products.proto +29 -20
package/gen/mail.ts
CHANGED
|
@@ -1,121 +1,121 @@
|
|
|
1
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
-
// versions:
|
|
3
|
-
// protoc-gen-ts_proto v2.10.1
|
|
4
|
-
// protoc v7.35.
|
|
5
|
-
// source: mail.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
|
|
9
|
-
import { Observable } from "rxjs";
|
|
10
|
-
|
|
11
|
-
export const protobufPackage = "mail.v1";
|
|
12
|
-
|
|
13
|
-
export interface MailAck {
|
|
14
|
-
queued: boolean;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface SendRegRequest {
|
|
18
|
-
userId: string;
|
|
19
|
-
email: string;
|
|
20
|
-
username: string;
|
|
21
|
-
fullName: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export interface Send2faRequest {
|
|
25
|
-
email: string;
|
|
26
|
-
code: string;
|
|
27
|
-
username: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface SendPasswordResetRequest {
|
|
31
|
-
email: string;
|
|
32
|
-
code: string;
|
|
33
|
-
username: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface SendRegistrationConfirmRequest {
|
|
37
|
-
email: string;
|
|
38
|
-
code: string;
|
|
39
|
-
username: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export interface SendDataExportReadyRequest {
|
|
43
|
-
email: string;
|
|
44
|
-
username: string;
|
|
45
|
-
/** signed S3 URL */
|
|
46
|
-
fileUrl: string;
|
|
47
|
-
/** for the message body */
|
|
48
|
-
urlTtlHours: number;
|
|
49
|
-
fileSize: number;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export const MAIL_V1_PACKAGE_NAME = "mail.v1";
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Legacy mail-service used @EventPattern (fire-and-forget). In the new gRPC
|
|
56
|
-
* stack each becomes a unary RPC that returns an Ack. Callers ignore the
|
|
57
|
-
* response if they don't care about delivery.
|
|
58
|
-
*/
|
|
59
|
-
|
|
60
|
-
export interface MailServiceClient {
|
|
61
|
-
sendReg(request: SendRegRequest): Observable<MailAck>;
|
|
62
|
-
|
|
63
|
-
send2Fa(request: Send2faRequest): Observable<MailAck>;
|
|
64
|
-
|
|
65
|
-
sendPasswordReset(request: SendPasswordResetRequest): Observable<MailAck>;
|
|
66
|
-
|
|
67
|
-
sendRegistrationConfirm(request: SendRegistrationConfirmRequest): Observable<MailAck>;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* GDPR data-export delivery — tasks-service fires after the JSON dump
|
|
71
|
-
* lands in S3; mail-service sends the signed URL with a sensible TTL note.
|
|
72
|
-
*/
|
|
73
|
-
|
|
74
|
-
sendDataExportReady(request: SendDataExportReadyRequest): Observable<MailAck>;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Legacy mail-service used @EventPattern (fire-and-forget). In the new gRPC
|
|
79
|
-
* stack each becomes a unary RPC that returns an Ack. Callers ignore the
|
|
80
|
-
* response if they don't care about delivery.
|
|
81
|
-
*/
|
|
82
|
-
|
|
83
|
-
export interface MailServiceController {
|
|
84
|
-
sendReg(request: SendRegRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
85
|
-
|
|
86
|
-
send2Fa(request: Send2faRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
87
|
-
|
|
88
|
-
sendPasswordReset(request: SendPasswordResetRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
89
|
-
|
|
90
|
-
sendRegistrationConfirm(request: SendRegistrationConfirmRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* GDPR data-export delivery — tasks-service fires after the JSON dump
|
|
94
|
-
* lands in S3; mail-service sends the signed URL with a sensible TTL note.
|
|
95
|
-
*/
|
|
96
|
-
|
|
97
|
-
sendDataExportReady(request: SendDataExportReadyRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export function MailServiceControllerMethods() {
|
|
101
|
-
return function (constructor: Function) {
|
|
102
|
-
const grpcMethods: string[] = [
|
|
103
|
-
"sendReg",
|
|
104
|
-
"send2Fa",
|
|
105
|
-
"sendPasswordReset",
|
|
106
|
-
"sendRegistrationConfirm",
|
|
107
|
-
"sendDataExportReady",
|
|
108
|
-
];
|
|
109
|
-
for (const method of grpcMethods) {
|
|
110
|
-
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
111
|
-
GrpcMethod("MailService", method)(constructor.prototype[method], method, descriptor);
|
|
112
|
-
}
|
|
113
|
-
const grpcStreamMethods: string[] = [];
|
|
114
|
-
for (const method of grpcStreamMethods) {
|
|
115
|
-
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
116
|
-
GrpcStreamMethod("MailService", method)(constructor.prototype[method], method, descriptor);
|
|
117
|
-
}
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export const MAIL_SERVICE_NAME = "MailService";
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v2.10.1
|
|
4
|
+
// protoc v7.35.1
|
|
5
|
+
// source: mail.proto
|
|
6
|
+
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
|
|
9
|
+
import { Observable } from "rxjs";
|
|
10
|
+
|
|
11
|
+
export const protobufPackage = "mail.v1";
|
|
12
|
+
|
|
13
|
+
export interface MailAck {
|
|
14
|
+
queued: boolean;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface SendRegRequest {
|
|
18
|
+
userId: string;
|
|
19
|
+
email: string;
|
|
20
|
+
username: string;
|
|
21
|
+
fullName: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface Send2faRequest {
|
|
25
|
+
email: string;
|
|
26
|
+
code: string;
|
|
27
|
+
username: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export interface SendPasswordResetRequest {
|
|
31
|
+
email: string;
|
|
32
|
+
code: string;
|
|
33
|
+
username: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface SendRegistrationConfirmRequest {
|
|
37
|
+
email: string;
|
|
38
|
+
code: string;
|
|
39
|
+
username: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface SendDataExportReadyRequest {
|
|
43
|
+
email: string;
|
|
44
|
+
username: string;
|
|
45
|
+
/** signed S3 URL */
|
|
46
|
+
fileUrl: string;
|
|
47
|
+
/** for the message body */
|
|
48
|
+
urlTtlHours: number;
|
|
49
|
+
fileSize: number;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export const MAIL_V1_PACKAGE_NAME = "mail.v1";
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Legacy mail-service used @EventPattern (fire-and-forget). In the new gRPC
|
|
56
|
+
* stack each becomes a unary RPC that returns an Ack. Callers ignore the
|
|
57
|
+
* response if they don't care about delivery.
|
|
58
|
+
*/
|
|
59
|
+
|
|
60
|
+
export interface MailServiceClient {
|
|
61
|
+
sendReg(request: SendRegRequest): Observable<MailAck>;
|
|
62
|
+
|
|
63
|
+
send2Fa(request: Send2faRequest): Observable<MailAck>;
|
|
64
|
+
|
|
65
|
+
sendPasswordReset(request: SendPasswordResetRequest): Observable<MailAck>;
|
|
66
|
+
|
|
67
|
+
sendRegistrationConfirm(request: SendRegistrationConfirmRequest): Observable<MailAck>;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* GDPR data-export delivery — tasks-service fires after the JSON dump
|
|
71
|
+
* lands in S3; mail-service sends the signed URL with a sensible TTL note.
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
sendDataExportReady(request: SendDataExportReadyRequest): Observable<MailAck>;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Legacy mail-service used @EventPattern (fire-and-forget). In the new gRPC
|
|
79
|
+
* stack each becomes a unary RPC that returns an Ack. Callers ignore the
|
|
80
|
+
* response if they don't care about delivery.
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
export interface MailServiceController {
|
|
84
|
+
sendReg(request: SendRegRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
85
|
+
|
|
86
|
+
send2Fa(request: Send2faRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
87
|
+
|
|
88
|
+
sendPasswordReset(request: SendPasswordResetRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
89
|
+
|
|
90
|
+
sendRegistrationConfirm(request: SendRegistrationConfirmRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* GDPR data-export delivery — tasks-service fires after the JSON dump
|
|
94
|
+
* lands in S3; mail-service sends the signed URL with a sensible TTL note.
|
|
95
|
+
*/
|
|
96
|
+
|
|
97
|
+
sendDataExportReady(request: SendDataExportReadyRequest): Promise<MailAck> | Observable<MailAck> | MailAck;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function MailServiceControllerMethods() {
|
|
101
|
+
return function (constructor: Function) {
|
|
102
|
+
const grpcMethods: string[] = [
|
|
103
|
+
"sendReg",
|
|
104
|
+
"send2Fa",
|
|
105
|
+
"sendPasswordReset",
|
|
106
|
+
"sendRegistrationConfirm",
|
|
107
|
+
"sendDataExportReady",
|
|
108
|
+
];
|
|
109
|
+
for (const method of grpcMethods) {
|
|
110
|
+
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
111
|
+
GrpcMethod("MailService", method)(constructor.prototype[method], method, descriptor);
|
|
112
|
+
}
|
|
113
|
+
const grpcStreamMethods: string[] = [];
|
|
114
|
+
for (const method of grpcStreamMethods) {
|
|
115
|
+
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
116
|
+
GrpcStreamMethod("MailService", method)(constructor.prototype[method], method, descriptor);
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export const MAIL_SERVICE_NAME = "MailService";
|
package/gen/payments.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
4
|
// protoc-gen-ts_proto v2.10.1
|
|
5
|
-
// protoc v7.35.
|
|
5
|
+
// protoc v7.35.1
|
|
6
6
|
// source: payments.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.PAYMENTS_SERVICE_NAME = exports.PAYMENTS_V1_PACKAGE_NAME = exports.protobufPackage = void 0;
|