@platfformx/proto-contracts 1.3.7 → 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.
@@ -36,9 +36,9 @@ export interface CreateCategoriesRequest {
36
36
  categories: CreateCategoryRequest[];
37
37
  }
38
38
  export interface CreateCategoriesResponse {
39
+ categories: CategoryResponse[];
39
40
  }
40
41
  export interface GetCategoriesRequest {
41
- categories: CategoryResponse[];
42
42
  }
43
43
  export interface GetCategoriesResponse {
44
44
  categories: CategoryResponse[];
@@ -9,7 +9,7 @@ export interface IndexCategoryResponse {
9
9
  export interface IndexCategoriesRequest {
10
10
  category: Category[];
11
11
  }
12
- export interface IndexCategoriesesponse {
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<IndexCategoriesesponse>;
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<IndexCategoriesesponse> | Observable<IndexCategoriesesponse> | IndexCategoriesesponse;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -58,10 +58,10 @@ message CreateCategoriesRequest {
58
58
  repeated CreateCategoryRequest categories = 1;
59
59
  }
60
60
  message CreateCategoriesResponse {
61
+ repeated CategoryResponse categories = 1;
61
62
 
62
63
  }
63
64
  message GetCategoriesRequest {
64
- repeated CategoryResponse categories = 1;
65
65
 
66
66
  }
67
67
  message GetCategoriesResponse {
@@ -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 (IndexCategoriesesponse);
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 IndexCategoriesesponse {
28
+ message IndexCategoriesResponse {
29
29
  bool ok = 1;
30
30
  }
31
31