-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
86c93bd
commit de22863
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
syntax = "proto3"; | ||
|
||
package cmp.types.v1alpha1; | ||
|
||
// Product list code and type | ||
// | ||
// This is being used in requests to specify the a list of products to be included in the reponse | ||
// | ||
// ![Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1alpha1/product-list.proto.dot.xs.svg) | ||
// [Open Message Diagram](https://storage.googleapis.com/docs-cmp-files/diagrams/proto/cmp/types/v1alpha1/product-list.proto.dot.svg) | ||
message ProductList { | ||
string product_code = 1; | ||
ProductCodeType product_code_type = 2; | ||
} | ||
|
||
// Product Code type | ||
enum ProductCodeType { | ||
PRODUCT_CODE_TYPE_UNSPECIFIED = 0; | ||
PRODUCT_CODE_TYPE_PROVIDER = 1; | ||
PRODUCT_CODE_TYPE_GIATA = 2; | ||
PRODUCT_CODE_TYPE_GOAL_ID = 3; | ||
} |