Skip to content

Commit

Permalink
chore: change API tags from private preview to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
tothandras committed Feb 7, 2025
1 parent 1dcc0ea commit 843e330
Show file tree
Hide file tree
Showing 14 changed files with 916 additions and 920 deletions.
734 changes: 366 additions & 368 deletions api/api.gen.go

Large diffs are not rendered by default.

758 changes: 378 additions & 380 deletions api/client/go/client.gen.go

Large diffs are not rendered by default.

132 changes: 66 additions & 66 deletions api/openapi.cloud.yaml

Large diffs are not rendered by default.

132 changes: 66 additions & 66 deletions api/openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/spec/src/app/app.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace OpenMeter.App;
* Installed Apps API.
*/
@route("/api/v1/apps")
@tag("Apps (Private Preview)")
@tag("Apps (Beta)")
interface Apps {
/**
* List apps.
Expand Down
2 changes: 1 addition & 1 deletion api/spec/src/app/marketplace.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace OpenMeter.App;
* Marketplace API.
*/
@route("/api/v1/marketplace")
@tag("Apps (Private Preview)")
@tag("Apps (Beta)")
interface Marketplace {
/**
* List available apps of the app marketplace.
Expand Down
2 changes: 1 addition & 1 deletion api/spec/src/app/stripe.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace OpenMeter.App;
/**
* Stripe specific APIs.
*/
@tag("Apps (Private Preview)")
@tag("Apps (Beta)")
interface AppStripe {
/**
* Handle stripe webhooks for apps.
Expand Down
2 changes: 1 addition & 1 deletion api/spec/src/billing/customeroverride.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ using TypeSpec.OpenAPI;
namespace OpenMeter.Billing;

@route("/api/v1/billing/customers")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface CustomerOverrides {
/**
* List customer overrides
Expand Down
6 changes: 3 additions & 3 deletions api/spec/src/billing/invoices.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace OpenMeter.Billing;
* knowledge of the invoice ID.
*/
@route("/api/v1/billing/invoices")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface InvoicesEndpoints {
/**
* Create a new invoice from the pending line items.
Expand Down Expand Up @@ -75,7 +75,7 @@ interface InvoicesEndpoints {
* CustomerInvoice is a collection of endpoints that allow operations on a specific invoice.
*/
@route("/api/v1/billing/invoices/{invoiceId}")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface InvoiceEndpoints {
/**
* Get an invoice by ID.
Expand Down Expand Up @@ -208,7 +208,7 @@ interface InvoiceEndpoints {
}

@route("/api/v1/billing/customers/{customerId}/invoices/simulate")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface InvoiceSimulationEndpoints {
/**
* Simulate an invoice for a customer.
Expand Down
2 changes: 1 addition & 1 deletion api/spec/src/billing/profile.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using TypeSpec.OpenAPI;
namespace OpenMeter.Billing;

@route("/api/v1/billing/profiles")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface Profiles {
/**
* List all billing profiles
Expand Down
40 changes: 20 additions & 20 deletions api/spec/src/cloud/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,33 @@ using TypeSpec.OpenAPI;
#{ description: "Lookup information for static data like currencies" }
)
@tagMetadata(
"Apps (Private Preview)",
"Apps (Beta)",
#{
description: "Manage integrations for extending OpenMeter's functionality. Currently in private preview - [contact us](mailto:[email protected]) for access.",
description: "Manage integrations for extending OpenMeter's functionality. ",
}
)
@tagMetadata(
"Billing (Private Preview)",
"Billing (Beta)",
#{
description: "Manage your billing profiles and invoices. Currently in private preview - [contact us](mailto:[email protected]) for access.",
description: "Manage your billing profiles and invoices. ",
}
)
@tagMetadata(
"Customers (Private Preview)",
"Customers (Beta)",
#{
description: "Manage customer subscription lifecycles and plan assignments. Currently in private preview - [contact us](mailto:[email protected]) for access.",
description: "Manage customer subscription lifecycles and plan assignments. ",
}
)
@tagMetadata(
"Subscriptions (Private Preview)",
"Subscriptions (Beta)",
#{
description: "With Subscriptions, you can manage your customers' subscriptions. Request access by [contacting us](mailto:[email protected]).",
}
)
@tagMetadata(
"Product Catalog (Private Preview)",
"Product Catalog (Beta)",
#{
description: "Configure and manage your product plans, pricing tiers, and subscription offerings. Currently in private preview - [contact us](mailto:[email protected]) for access.",
description: "Configure and manage your product plans, pricing tiers, and subscription offerings. ",
}
)
@tagMetadata(
Expand Down Expand Up @@ -172,14 +172,14 @@ interface Debug extends OpenMeter.Debug {}

namespace OpenMeterCloud.App {
@route("/api/v1/marketplace")
@tag("Apps (Private Preview)")
@tag("Apps (Beta)")
interface Marketplace extends OpenMeter.App.Marketplace {}

@route("/api/v1/apps")
@tag("Apps (Private Preview)")
@tag("Apps (Beta)")
interface Apps extends OpenMeter.App.Apps {}

@tag("Apps (Private Preview)")
@tag("Apps (Beta)")
interface AppStripe extends OpenMeter.App.AppStripe {}
}

Expand Down Expand Up @@ -222,38 +222,38 @@ namespace OpenMeterCloud.Entitlements {

namespace OpenMeterCloud.Billing {
@route("/api/v1/customers")
@tag("Customers (Private Preview)")
@tag("Customers (Beta)")
interface Customers extends OpenMeter.Customers {}

@route("/api/v1/billing/customers")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface CustomerOverrides extends OpenMeter.Billing.CustomerOverrides {}

@route("/api/v1/billing/profiles")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface BillingProfiles extends OpenMeter.Billing.Profiles {}

@route("/api/v1/billing/invoices")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface InvoicesEndpoints extends OpenMeter.Billing.InvoicesEndpoints {}

@route("/api/v1/billing/invoices/{invoiceId}")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface InvoiceEndpoints extends OpenMeter.Billing.InvoiceEndpoints {}

@route("/api/v1/billing/customers/{customerId}/invoices/simulate")
@tag("Billing (Private Preview)")
@tag("Billing (Beta)")
interface InvoiceSimulationEndpoints
extends OpenMeter.Billing.InvoiceSimulationEndpoints {}
}

namespace OpenMeterCloud.ProductCatalog {
@route("/api/v1/plans")
@tag("Product Catalog (Private Preview)")
@tag("Product Catalog (Beta)")
interface PlansById extends OpenMeter.ProductCatalog.Plans {}

@route("/api/v1/subscriptions")
@tag("Subscriptions (Private Preview)")
@tag("Subscriptions (Beta)")
interface Subscriptions extends OpenMeter.ProductCatalog.Subscriptions {}
}

Expand Down
2 changes: 1 addition & 1 deletion api/spec/src/customer.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace OpenMeter;
* Customer API.
*/
@route("/api/v1/customers")
@tag("Customers (Private Preview)")
@tag("Customers (Beta)")
interface Customers {
/**
* Create a new customer.
Expand Down
18 changes: 9 additions & 9 deletions api/spec/src/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -48,33 +48,33 @@ using TypeSpec.Versioning;
#{ description: "Lookup information for static data like currencies" }
)
@tagMetadata(
"Apps (Private Preview)",
"Apps (Beta)",
#{
description: "Manage integrations for extending OpenMeter's functionality. Currently in private preview - [contact us](mailto:[email protected]) for access.",
description: "Manage integrations for extending OpenMeter's functionality. ",
}
)
@tagMetadata(
"Billing (Private Preview)",
"Billing (Beta)",
#{
description: "Manage your billing profiles and invoices. Currently in private preview - [contact us](mailto:[email protected]) for access.",
description: "Manage your billing profiles and invoices. ",
}
)
@tagMetadata(
"Customers (Private Preview)",
"Customers (Beta)",
#{
description: "Manage customer subscription lifecycles and plan assignments. Currently in private preview - [contact us](mailto:[email protected]) for access.",
description: "Manage customer subscription lifecycles and plan assignments. ",
}
)
@tagMetadata(
"Subscriptions (Private Preview)",
"Subscriptions (Beta)",
#{
description: "With Subscriptions, you can manage your customers' subscriptions. Request access by [contacting us](mailto:[email protected]).",
}
)
@tagMetadata(
"Product Catalog (Private Preview)",
"Product Catalog (Beta)",
#{
description: "Configure and manage your product plans, pricing tiers, and subscription offerings. Currently in private preview - [contact us](mailto:[email protected]) for access.",
description: "Configure and manage your product plans, pricing tiers, and subscription offerings. ",
}
)
@tagMetadata(
Expand Down
4 changes: 2 additions & 2 deletions api/spec/src/productcatalog/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using TypeSpec.OpenAPI;
alias PlanIdOrKey = ULID | Key;

@route("/api/v1/plans")
@tag("Product Catalog (Private Preview)")
@tag("Product Catalog (Beta)")
interface Plans {
/**
* List all plans.
Expand Down Expand Up @@ -150,7 +150,7 @@ interface Plans {
}

@route("/api/v1/subscriptions")
@tag("Subscriptions (Private Preview)")
@tag("Subscriptions (Beta)")
interface Subscriptions {
@get
@sharedRoute
Expand Down

0 comments on commit 843e330

Please sign in to comment.