@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/taxonomy.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: taxonomy.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.TAXONOMY_SERVICE_NAME = exports.TAXONOMY_V1_PACKAGE_NAME = exports.protobufPackage = void 0;
|
package/gen/taxonomy.ts
CHANGED
|
@@ -1,185 +1,185 @@
|
|
|
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: taxonomy.proto
|
|
6
|
-
|
|
7
|
-
/* eslint-disable */
|
|
8
|
-
import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
|
|
9
|
-
import { Observable } from "rxjs";
|
|
10
|
-
|
|
11
|
-
export const protobufPackage = "taxonomy.v1";
|
|
12
|
-
|
|
13
|
-
export interface Category {
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
|
-
description: string;
|
|
17
|
-
createdAt: string;
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface Application {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
description: string;
|
|
25
|
-
createdAt: string;
|
|
26
|
-
updatedAt: string;
|
|
27
|
-
/** public S3 URL to brand SVG (admin-set), empty if none */
|
|
28
|
-
iconUrl: string;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface Tag {
|
|
32
|
-
id: string;
|
|
33
|
-
name: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface Empty {
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface CategoriesListResponse {
|
|
40
|
-
items: Category[];
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface ApplicationsListResponse {
|
|
44
|
-
items: Application[];
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface QueryTagsRequest {
|
|
48
|
-
search: string;
|
|
49
|
-
page: number;
|
|
50
|
-
limit: number;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export interface TagsListResponse {
|
|
54
|
-
items: Tag[];
|
|
55
|
-
total: number;
|
|
56
|
-
page: number;
|
|
57
|
-
limit: number;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export interface CreateCategoryRequest {
|
|
61
|
-
name: string;
|
|
62
|
-
description: string;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export interface CategoryResponse {
|
|
66
|
-
category: Category | undefined;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export interface CreateApplicationRequest {
|
|
70
|
-
name: string;
|
|
71
|
-
description: string;
|
|
72
|
-
iconUrl: string;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export interface UpdateApplicationRequest {
|
|
76
|
-
id: string;
|
|
77
|
-
/** optional — empty keeps current */
|
|
78
|
-
name: string;
|
|
79
|
-
/** optional */
|
|
80
|
-
description: string;
|
|
81
|
-
/** optional — empty keeps current */
|
|
82
|
-
iconUrl: string;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
export interface ApplicationResponse {
|
|
86
|
-
application: Application | undefined;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
export interface CreateIconUploadUrlRequest {
|
|
90
|
-
fileName: string;
|
|
91
|
-
/** e.g. image/svg+xml */
|
|
92
|
-
mimeType: string;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
export interface IconUploadUrlResponse {
|
|
96
|
-
/** presigned PUT URL — client uploads the SVG bytes here */
|
|
97
|
-
uploadUrl: string;
|
|
98
|
-
/** final public URL to store as Application.iconUrl */
|
|
99
|
-
iconUrl: string;
|
|
100
|
-
fileKey: string;
|
|
101
|
-
expiresIn: number;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export const TAXONOMY_V1_PACKAGE_NAME = "taxonomy.v1";
|
|
105
|
-
|
|
106
|
-
export interface TaxonomyServiceClient {
|
|
107
|
-
findAllCategories(request: Empty): Observable<CategoriesListResponse>;
|
|
108
|
-
|
|
109
|
-
findAllApplications(request: Empty): Observable<ApplicationsListResponse>;
|
|
110
|
-
|
|
111
|
-
findAllTags(request: QueryTagsRequest): Observable<TagsListResponse>;
|
|
112
|
-
|
|
113
|
-
createCategory(request: CreateCategoryRequest): Observable<CategoryResponse>;
|
|
114
|
-
|
|
115
|
-
createApplication(request: CreateApplicationRequest): Observable<ApplicationResponse>;
|
|
116
|
-
|
|
117
|
-
updateApplication(request: UpdateApplicationRequest): Observable<ApplicationResponse>;
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Mint a presigned PUT URL for an application icon SVG (proxies upload-service,
|
|
121
|
-
* kind=ICON → public/icons/). Client PUTs the bytes to upload_url, then passes
|
|
122
|
-
* icon_url to Create/UpdateApplication.
|
|
123
|
-
*/
|
|
124
|
-
|
|
125
|
-
createIconUploadUrl(request: CreateIconUploadUrlRequest): Observable<IconUploadUrlResponse>;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
export interface TaxonomyServiceController {
|
|
129
|
-
findAllCategories(
|
|
130
|
-
request: Empty,
|
|
131
|
-
): Promise<CategoriesListResponse> | Observable<CategoriesListResponse> | CategoriesListResponse;
|
|
132
|
-
|
|
133
|
-
findAllApplications(
|
|
134
|
-
request: Empty,
|
|
135
|
-
): Promise<ApplicationsListResponse> | Observable<ApplicationsListResponse> | ApplicationsListResponse;
|
|
136
|
-
|
|
137
|
-
findAllTags(request: QueryTagsRequest): Promise<TagsListResponse> | Observable<TagsListResponse> | TagsListResponse;
|
|
138
|
-
|
|
139
|
-
createCategory(
|
|
140
|
-
request: CreateCategoryRequest,
|
|
141
|
-
): Promise<CategoryResponse> | Observable<CategoryResponse> | CategoryResponse;
|
|
142
|
-
|
|
143
|
-
createApplication(
|
|
144
|
-
request: CreateApplicationRequest,
|
|
145
|
-
): Promise<ApplicationResponse> | Observable<ApplicationResponse> | ApplicationResponse;
|
|
146
|
-
|
|
147
|
-
updateApplication(
|
|
148
|
-
request: UpdateApplicationRequest,
|
|
149
|
-
): Promise<ApplicationResponse> | Observable<ApplicationResponse> | ApplicationResponse;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Mint a presigned PUT URL for an application icon SVG (proxies upload-service,
|
|
153
|
-
* kind=ICON → public/icons/). Client PUTs the bytes to upload_url, then passes
|
|
154
|
-
* icon_url to Create/UpdateApplication.
|
|
155
|
-
*/
|
|
156
|
-
|
|
157
|
-
createIconUploadUrl(
|
|
158
|
-
request: CreateIconUploadUrlRequest,
|
|
159
|
-
): Promise<IconUploadUrlResponse> | Observable<IconUploadUrlResponse> | IconUploadUrlResponse;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
export function TaxonomyServiceControllerMethods() {
|
|
163
|
-
return function (constructor: Function) {
|
|
164
|
-
const grpcMethods: string[] = [
|
|
165
|
-
"findAllCategories",
|
|
166
|
-
"findAllApplications",
|
|
167
|
-
"findAllTags",
|
|
168
|
-
"createCategory",
|
|
169
|
-
"createApplication",
|
|
170
|
-
"updateApplication",
|
|
171
|
-
"createIconUploadUrl",
|
|
172
|
-
];
|
|
173
|
-
for (const method of grpcMethods) {
|
|
174
|
-
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
175
|
-
GrpcMethod("TaxonomyService", method)(constructor.prototype[method], method, descriptor);
|
|
176
|
-
}
|
|
177
|
-
const grpcStreamMethods: string[] = [];
|
|
178
|
-
for (const method of grpcStreamMethods) {
|
|
179
|
-
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
180
|
-
GrpcStreamMethod("TaxonomyService", method)(constructor.prototype[method], method, descriptor);
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
export const TAXONOMY_SERVICE_NAME = "TaxonomyService";
|
|
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: taxonomy.proto
|
|
6
|
+
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
|
|
9
|
+
import { Observable } from "rxjs";
|
|
10
|
+
|
|
11
|
+
export const protobufPackage = "taxonomy.v1";
|
|
12
|
+
|
|
13
|
+
export interface Category {
|
|
14
|
+
id: string;
|
|
15
|
+
name: string;
|
|
16
|
+
description: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
updatedAt: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface Application {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
description: string;
|
|
25
|
+
createdAt: string;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
/** public S3 URL to brand SVG (admin-set), empty if none */
|
|
28
|
+
iconUrl: string;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface Tag {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface Empty {
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface CategoriesListResponse {
|
|
40
|
+
items: Category[];
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface ApplicationsListResponse {
|
|
44
|
+
items: Application[];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface QueryTagsRequest {
|
|
48
|
+
search: string;
|
|
49
|
+
page: number;
|
|
50
|
+
limit: number;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export interface TagsListResponse {
|
|
54
|
+
items: Tag[];
|
|
55
|
+
total: number;
|
|
56
|
+
page: number;
|
|
57
|
+
limit: number;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface CreateCategoryRequest {
|
|
61
|
+
name: string;
|
|
62
|
+
description: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface CategoryResponse {
|
|
66
|
+
category: Category | undefined;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface CreateApplicationRequest {
|
|
70
|
+
name: string;
|
|
71
|
+
description: string;
|
|
72
|
+
iconUrl: string;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface UpdateApplicationRequest {
|
|
76
|
+
id: string;
|
|
77
|
+
/** optional — empty keeps current */
|
|
78
|
+
name: string;
|
|
79
|
+
/** optional */
|
|
80
|
+
description: string;
|
|
81
|
+
/** optional — empty keeps current */
|
|
82
|
+
iconUrl: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export interface ApplicationResponse {
|
|
86
|
+
application: Application | undefined;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export interface CreateIconUploadUrlRequest {
|
|
90
|
+
fileName: string;
|
|
91
|
+
/** e.g. image/svg+xml */
|
|
92
|
+
mimeType: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface IconUploadUrlResponse {
|
|
96
|
+
/** presigned PUT URL — client uploads the SVG bytes here */
|
|
97
|
+
uploadUrl: string;
|
|
98
|
+
/** final public URL to store as Application.iconUrl */
|
|
99
|
+
iconUrl: string;
|
|
100
|
+
fileKey: string;
|
|
101
|
+
expiresIn: number;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export const TAXONOMY_V1_PACKAGE_NAME = "taxonomy.v1";
|
|
105
|
+
|
|
106
|
+
export interface TaxonomyServiceClient {
|
|
107
|
+
findAllCategories(request: Empty): Observable<CategoriesListResponse>;
|
|
108
|
+
|
|
109
|
+
findAllApplications(request: Empty): Observable<ApplicationsListResponse>;
|
|
110
|
+
|
|
111
|
+
findAllTags(request: QueryTagsRequest): Observable<TagsListResponse>;
|
|
112
|
+
|
|
113
|
+
createCategory(request: CreateCategoryRequest): Observable<CategoryResponse>;
|
|
114
|
+
|
|
115
|
+
createApplication(request: CreateApplicationRequest): Observable<ApplicationResponse>;
|
|
116
|
+
|
|
117
|
+
updateApplication(request: UpdateApplicationRequest): Observable<ApplicationResponse>;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Mint a presigned PUT URL for an application icon SVG (proxies upload-service,
|
|
121
|
+
* kind=ICON → public/icons/). Client PUTs the bytes to upload_url, then passes
|
|
122
|
+
* icon_url to Create/UpdateApplication.
|
|
123
|
+
*/
|
|
124
|
+
|
|
125
|
+
createIconUploadUrl(request: CreateIconUploadUrlRequest): Observable<IconUploadUrlResponse>;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export interface TaxonomyServiceController {
|
|
129
|
+
findAllCategories(
|
|
130
|
+
request: Empty,
|
|
131
|
+
): Promise<CategoriesListResponse> | Observable<CategoriesListResponse> | CategoriesListResponse;
|
|
132
|
+
|
|
133
|
+
findAllApplications(
|
|
134
|
+
request: Empty,
|
|
135
|
+
): Promise<ApplicationsListResponse> | Observable<ApplicationsListResponse> | ApplicationsListResponse;
|
|
136
|
+
|
|
137
|
+
findAllTags(request: QueryTagsRequest): Promise<TagsListResponse> | Observable<TagsListResponse> | TagsListResponse;
|
|
138
|
+
|
|
139
|
+
createCategory(
|
|
140
|
+
request: CreateCategoryRequest,
|
|
141
|
+
): Promise<CategoryResponse> | Observable<CategoryResponse> | CategoryResponse;
|
|
142
|
+
|
|
143
|
+
createApplication(
|
|
144
|
+
request: CreateApplicationRequest,
|
|
145
|
+
): Promise<ApplicationResponse> | Observable<ApplicationResponse> | ApplicationResponse;
|
|
146
|
+
|
|
147
|
+
updateApplication(
|
|
148
|
+
request: UpdateApplicationRequest,
|
|
149
|
+
): Promise<ApplicationResponse> | Observable<ApplicationResponse> | ApplicationResponse;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Mint a presigned PUT URL for an application icon SVG (proxies upload-service,
|
|
153
|
+
* kind=ICON → public/icons/). Client PUTs the bytes to upload_url, then passes
|
|
154
|
+
* icon_url to Create/UpdateApplication.
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
createIconUploadUrl(
|
|
158
|
+
request: CreateIconUploadUrlRequest,
|
|
159
|
+
): Promise<IconUploadUrlResponse> | Observable<IconUploadUrlResponse> | IconUploadUrlResponse;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export function TaxonomyServiceControllerMethods() {
|
|
163
|
+
return function (constructor: Function) {
|
|
164
|
+
const grpcMethods: string[] = [
|
|
165
|
+
"findAllCategories",
|
|
166
|
+
"findAllApplications",
|
|
167
|
+
"findAllTags",
|
|
168
|
+
"createCategory",
|
|
169
|
+
"createApplication",
|
|
170
|
+
"updateApplication",
|
|
171
|
+
"createIconUploadUrl",
|
|
172
|
+
];
|
|
173
|
+
for (const method of grpcMethods) {
|
|
174
|
+
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
175
|
+
GrpcMethod("TaxonomyService", method)(constructor.prototype[method], method, descriptor);
|
|
176
|
+
}
|
|
177
|
+
const grpcStreamMethods: string[] = [];
|
|
178
|
+
for (const method of grpcStreamMethods) {
|
|
179
|
+
const descriptor: any = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
180
|
+
GrpcStreamMethod("TaxonomyService", method)(constructor.prototype[method], method, descriptor);
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export const TAXONOMY_SERVICE_NAME = "TaxonomyService";
|
package/gen/upload.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: upload.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.UPLOAD_SERVICE_NAME = exports.UPLOAD_V1_PACKAGE_NAME = exports.UploadKind = exports.protobufPackage = void 0;
|