@mamindom/contracts 1.0.16 → 1.0.17
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/product.ts +1 -4
- package/package.json +1 -1
- package/proto/product.proto +3 -1
package/gen/product.ts
CHANGED
|
@@ -191,6 +191,7 @@ export interface CreateProductRequest {
|
|
|
191
191
|
mainImage?: string | undefined;
|
|
192
192
|
guid1c?: string | undefined;
|
|
193
193
|
categoryIds: string[];
|
|
194
|
+
createdById: string;
|
|
194
195
|
}
|
|
195
196
|
|
|
196
197
|
export interface CreateProductRequest_NameEntry {
|
|
@@ -283,8 +284,6 @@ export interface BulkUpdateDiscountRequest {
|
|
|
283
284
|
export const CATALOG_V1_PACKAGE_NAME = "catalog.v1";
|
|
284
285
|
|
|
285
286
|
export interface ProductServiceClient {
|
|
286
|
-
/** Базовий CRUD */
|
|
287
|
-
|
|
288
287
|
getProducts(request: GetProductsRequest): Observable<GetProductsResponse>;
|
|
289
288
|
|
|
290
289
|
getProduct(request: GetProductRequest): Observable<ProductDetailResponse>;
|
|
@@ -303,8 +302,6 @@ export interface ProductServiceClient {
|
|
|
303
302
|
}
|
|
304
303
|
|
|
305
304
|
export interface ProductServiceController {
|
|
306
|
-
/** Базовий CRUD */
|
|
307
|
-
|
|
308
305
|
getProducts(
|
|
309
306
|
request: GetProductsRequest,
|
|
310
307
|
): Promise<GetProductsResponse> | Observable<GetProductsResponse> | GetProductsResponse;
|
package/package.json
CHANGED
package/proto/product.proto
CHANGED
|
@@ -7,7 +7,7 @@ import "common.proto";
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
service ProductService {
|
|
10
|
-
|
|
10
|
+
|
|
11
11
|
rpc GetProducts (GetProductsRequest) returns (GetProductsResponse);
|
|
12
12
|
rpc GetProduct (GetProductRequest) returns (ProductDetailResponse);
|
|
13
13
|
|
|
@@ -168,6 +168,8 @@ message CreateProductRequest {
|
|
|
168
168
|
optional string guid_1c = 13;
|
|
169
169
|
|
|
170
170
|
repeated string category_ids = 14;
|
|
171
|
+
|
|
172
|
+
string created_by_id = 15;
|
|
171
173
|
}
|
|
172
174
|
|
|
173
175
|
message UpdateProductRequest {
|