Skip to content

Commit

Permalink
Update bg free form items type
Browse files Browse the repository at this point in the history
  • Loading branch information
capoyon committed Sep 10, 2024
1 parent eac4c30 commit 5676c12
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 11 deletions.
9 changes: 8 additions & 1 deletion billing/v1/billing.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,14 @@ message ListCustomFieldRequest {
message CreateFreeFormatRequest {
string id = 1;
string vendor = 2;
repeated string items = 3;
repeated FreeFormItem items = 3;
}

message FreeFormItem {
string label = 1;
int64 unitCost = 2;
uint32 quantity = 3;
bool enabled = 4;
}

message DeleteFreeFormatRequest {
Expand Down
29 changes: 19 additions & 10 deletions openapiv2/apidocs.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -6645,16 +6645,6 @@
"in": "query",
"required": false,
"type": "string"
},
{
"name": "items",
"in": "query",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
}
],
"tags": [
Expand Down Expand Up @@ -24961,6 +24951,25 @@
},
"description": "Response message wrapper for cost group fees."
},
"v1FreeFormItem": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"unitCost": {
"type": "string",
"format": "int64"
},
"quantity": {
"type": "integer",
"format": "int64"
},
"enabled": {
"type": "boolean"
}
}
},
"v1GetAccessGroupResponse": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 5676c12

Please sign in to comment.