Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions backend/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -8123,6 +8123,9 @@ const docTemplate = `{
"usage"
]
},
"nativeToolBillingEnabled": {
"type": "boolean"
},
"prepaidAmountUSD": {
"type": "number",
"minimum": 0
Expand All @@ -8141,6 +8144,15 @@ const docTemplate = `{
"mode": {
"type": "string"
},
"nativeToolBillingEnabled": {
"type": "boolean"
},
"nativeToolPricing": {
"type": "array",
"items": {
"$ref": "#/definitions/internal_transport_http_billing.NativeToolPricingResponse"
}
},
"paymentProviders": {
"type": "array",
"items": {
Expand Down Expand Up @@ -8539,6 +8551,29 @@ const docTemplate = `{
}
}
},
"internal_transport_http_billing.NativeToolPricingResponse": {
"type": "object",
"properties": {
"billable": {
"type": "boolean"
},
"priceLabel": {
"type": "string"
},
"priceNanousd": {
"type": "integer"
},
"provider": {
"type": "string"
},
"toolKey": {
"type": "string"
},
"unit": {
"type": "string"
}
}
},
"internal_transport_http_billing.PaymentTypeResponse": {
"type": "object",
"properties": {
Expand Down
35 changes: 35 additions & 0 deletions backend/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -8116,6 +8116,9 @@
"usage"
]
},
"nativeToolBillingEnabled": {
"type": "boolean"
},
"prepaidAmountUSD": {
"type": "number",
"minimum": 0
Expand All @@ -8134,6 +8137,15 @@
"mode": {
"type": "string"
},
"nativeToolBillingEnabled": {
"type": "boolean"
},
"nativeToolPricing": {
"type": "array",
"items": {
"$ref": "#/definitions/internal_transport_http_billing.NativeToolPricingResponse"
}
},
"paymentProviders": {
"type": "array",
"items": {
Expand Down Expand Up @@ -8532,6 +8544,29 @@
}
}
},
"internal_transport_http_billing.NativeToolPricingResponse": {
"type": "object",
"properties": {
"billable": {
"type": "boolean"
},
"priceLabel": {
"type": "string"
},
"priceNanousd": {
"type": "integer"
},
"provider": {
"type": "string"
},
"toolKey": {
"type": "string"
},
"unit": {
"type": "string"
}
}
},
"internal_transport_http_billing.PaymentTypeResponse": {
"type": "object",
"properties": {
Expand Down
23 changes: 23 additions & 0 deletions backend/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,8 @@ definitions:
- period
- usage
type: string
nativeToolBillingEnabled:
type: boolean
prepaidAmountUSD:
minimum: 0
type: number
Expand All @@ -883,6 +885,12 @@ definitions:
type: array
mode:
type: string
nativeToolBillingEnabled:
type: boolean
nativeToolPricing:
items:
$ref: '#/definitions/internal_transport_http_billing.NativeToolPricingResponse'
type: array
paymentProviders:
items:
type: string
Expand Down Expand Up @@ -1146,6 +1154,21 @@ definitions:
updatedAt:
type: string
type: object
internal_transport_http_billing.NativeToolPricingResponse:
properties:
billable:
type: boolean
priceLabel:
type: string
priceNanousd:
type: integer
provider:
type: string
toolKey:
type: string
unit:
type: string
type: object
internal_transport_http_billing.PaymentTypeResponse:
properties:
name:
Expand Down
Loading
Loading