@platfformx/proto-contracts 1.3.8 → 1.3.9
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.
|
@@ -9,7 +9,7 @@ export interface IndexCategoryResponse {
|
|
|
9
9
|
export interface IndexCategoriesRequest {
|
|
10
10
|
category: Category[];
|
|
11
11
|
}
|
|
12
|
-
export interface
|
|
12
|
+
export interface IndexCategoriesResponse {
|
|
13
13
|
ok: boolean;
|
|
14
14
|
}
|
|
15
15
|
export interface SearchCategoriesRequest {
|
|
@@ -76,7 +76,7 @@ export interface SearchServiceClient {
|
|
|
76
76
|
deleteProduct(request: DeleteProductRequest): Observable<DeleteProductResponse>;
|
|
77
77
|
searchCategories(request: SearchCategoriesRequest): Observable<SearchCategoriesResponse>;
|
|
78
78
|
indexCategory(request: IndexCategoryRequest): Observable<IndexCategoryResponse>;
|
|
79
|
-
indexCategories(request: IndexCategoriesRequest): Observable<
|
|
79
|
+
indexCategories(request: IndexCategoriesRequest): Observable<IndexCategoriesResponse>;
|
|
80
80
|
}
|
|
81
81
|
export interface SearchServiceController {
|
|
82
82
|
searchProducts(request: SearchProductsRequest): Promise<SearchProductsResponse> | Observable<SearchProductsResponse> | SearchProductsResponse;
|
|
@@ -85,7 +85,7 @@ export interface SearchServiceController {
|
|
|
85
85
|
deleteProduct(request: DeleteProductRequest): Promise<DeleteProductResponse> | Observable<DeleteProductResponse> | DeleteProductResponse;
|
|
86
86
|
searchCategories(request: SearchCategoriesRequest): Promise<SearchCategoriesResponse> | Observable<SearchCategoriesResponse> | SearchCategoriesResponse;
|
|
87
87
|
indexCategory(request: IndexCategoryRequest): Promise<IndexCategoryResponse> | Observable<IndexCategoryResponse> | IndexCategoryResponse;
|
|
88
|
-
indexCategories(request: IndexCategoriesRequest): Promise<
|
|
88
|
+
indexCategories(request: IndexCategoriesRequest): Promise<IndexCategoriesResponse> | Observable<IndexCategoriesResponse> | IndexCategoriesResponse;
|
|
89
89
|
}
|
|
90
90
|
export declare function SearchServiceControllerMethods(): (constructor: Function) => void;
|
|
91
91
|
export declare const SEARCH_SERVICE_NAME = "SearchService";
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@ service SearchService {
|
|
|
10
10
|
|
|
11
11
|
rpc SearchCategories (SearchCategoriesRequest) returns (SearchCategoriesResponse);
|
|
12
12
|
rpc IndexCategory (IndexCategoryRequest) returns (IndexCategoryResponse);
|
|
13
|
-
rpc IndexCategories (IndexCategoriesRequest) returns (
|
|
13
|
+
rpc IndexCategories (IndexCategoriesRequest) returns (IndexCategoriesResponse);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
message IndexCategoryRequest {
|
|
@@ -25,7 +25,7 @@ message IndexCategoriesRequest {
|
|
|
25
25
|
repeated Category category = 1;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
message
|
|
28
|
+
message IndexCategoriesResponse {
|
|
29
29
|
bool ok = 1;
|
|
30
30
|
}
|
|
31
31
|
|