| 1 |
syntax = "proto3"; |
| 2 |
|
| 3 |
package types.v1; |
| 4 |
|
| 5 |
import "google/protobuf/timestamp.proto"; |
| 6 |
import "types/v1/price.proto"; |
| 7 |
|
| 8 |
option go_package = "types/v1;typesv1"; |
| 9 |
|
| 10 |
message Product { |
| 11 |
google.protobuf.Timestamp created_at = 100; |
| 12 |
google.protobuf.Timestamp updated_at = 101; |
| 13 |
|
| 14 |
string stripe_id = 1; |
| 15 |
types.v1.Price default_price = 2; |
| 16 |
string name = 3; |
| 17 |
string description = 4; |
| 18 |
repeated MarketingFeature marketing_features = 5; |
| 19 |
string cta_link = 6; |
| 20 |
Scope scope = 7; |
| 21 |
|
| 22 |
message MarketingFeature { |
| 23 |
string name = 1; |
| 24 |
} |
| 25 |
enum Scope { |
| 26 |
Unknown = 0; |
| 27 |
Environment = 1; |
| 28 |
Organization = 2; |
| 29 |
} |
| 30 |
} |