Skip to content

Commit

Permalink
Merge pull request #1822 from openmeterio/openapi/node-sdk-72c225f
Browse files Browse the repository at this point in the history
[bot] Re-generate Node.js client
  • Loading branch information
tothandras authored Nov 11, 2024
2 parents 26a5e5f + a17b102 commit a4512a4
Showing 1 changed file with 101 additions and 101 deletions.
202 changes: 101 additions & 101 deletions api/client/node/schemas/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,8 @@ export interface components {
* One of: stripe
*/
App:
| components['schemas']['StripeApp']
| components['schemas']['SandboxApp']
| components['schemas']['StripeApp']
| components['schemas']['SandboxApp']
/**
* @description Abstract base model for installed apps.
*
Expand Down Expand Up @@ -752,11 +752,11 @@ export interface components {
* @enum {string}
*/
AppCapabilityType:
| 'reportUsage'
| 'reportEvents'
| 'calculateTax'
| 'invoiceCustomers'
| 'collectPayments'
| 'reportUsage'
| 'reportEvents'
| 'calculateTax'
| 'invoiceCustomers'
| 'collectPayments'
/** @description A page of results. */
AppList: {
/** @description The page number. */
Expand Down Expand Up @@ -1329,11 +1329,11 @@ export interface components {
* @enum {string}
*/
BillingInvoiceExpand:
| '*'
| 'lines'
| 'preceding'
| 'workflow'
| 'workflow.apps'
| '*'
| 'lines'
| 'preceding'
| 'workflow'
| 'workflow.apps'
/**
* @description InvoiceExtendedStatus describes the extended status of an invoice.
*
Expand All @@ -1342,32 +1342,32 @@ export interface components {
* @enum {string}
*/
BillingInvoiceExtendedStatus:
| 'gathering'
| 'draft'
| 'issuing'
| 'issued'
| 'draft_created'
| 'draft_manual_approval_needed'
| 'draft_validating'
| 'draft_invalid'
| 'draft_syncing'
| 'draft_sync_failed'
| 'draft_waiting_auto_approval'
| 'draft_ready_to_issue'
| 'issuing_syncing'
| 'issuing_sync_failed'
| 'gathering'
| 'draft'
| 'issuing'
| 'issued'
| 'draft_created'
| 'draft_manual_approval_needed'
| 'draft_validating'
| 'draft_invalid'
| 'draft_syncing'
| 'draft_sync_failed'
| 'draft_waiting_auto_approval'
| 'draft_ready_to_issue'
| 'issuing_syncing'
| 'issuing_sync_failed'
/** UnitPriceLine represents a line item that is sold to the customer based on a specific (unit) price. */
BillingInvoiceLine:
| components['schemas']['BillingFlatFeeLine']
| components['schemas']['BillingFeeLine']
| components['schemas']['BillingFlatFeeLine']
| components['schemas']['BillingFeeLine']
/** UnitPriceLine represents a line item that is sold to the customer based on a specific (unit) price. */
BillingInvoiceLineCreateItem:
| components['schemas']['BillingFlatFeeLineCreateItem']
| components['schemas']['BillingFeeLineCreateItem']
| components['schemas']['BillingFlatFeeLineCreateItem']
| components['schemas']['BillingFeeLineCreateItem']
/** UnitPriceLine represents a line item that is sold to the customer based on a specific (unit) price. */
BillingInvoiceLineCreateOrUpdate:
| components['schemas']['BillingFlatFeeLineCreateOrUpdate']
| components['schemas']['BillingFeeLineCreateOrUpdate']
| components['schemas']['BillingFlatFeeLineCreateOrUpdate']
| components['schemas']['BillingFeeLineCreateOrUpdate']
/**
* @description InvoiceNumber is a unique identifier for the invoice, generated by the
* invoicing app.
Expand All @@ -1383,11 +1383,11 @@ export interface components {
* @enum {string}
*/
BillingInvoiceOrderBy:
| 'customer.name'
| 'issuedAt'
| 'status'
| 'createdAt'
| 'updatedAt'
| 'customer.name'
| 'issuedAt'
| 'status'
| 'createdAt'
| 'updatedAt'
/** Payment contains details as to how the invoice should be paid. */
BillingInvoicePayment: {
terms?: components['schemas']['BillingPaymentTerms']
Expand Down Expand Up @@ -1718,8 +1718,8 @@ export interface components {
}
/** PaymentTerms defines the terms for payment. */
BillingPaymentTerms:
| components['schemas']['BillingPaymentTermInstant']
| components['schemas']['BillingPaymentTermDueDate']
| components['schemas']['BillingPaymentTermInstant']
| components['schemas']['BillingPaymentTermDueDate']
/** Period represents a time range. */
BillingPeriod: {
/**
Expand Down Expand Up @@ -1808,8 +1808,8 @@ export interface components {
payment: components['schemas']['App']
}
BillingProfileAppsOrReference:
| components['schemas']['BillingProfileApps']
| components['schemas']['BillingProfileAppReferences']
| components['schemas']['BillingProfileApps']
| components['schemas']['BillingProfileAppReferences']
/** @description ProfileCreateAppsInput represents the input for creating a billing profile's apps */
BillingProfileCreateAppsInput: {
/** The tax app used for this workflow */
Expand Down Expand Up @@ -1960,8 +1960,8 @@ export interface components {
* If not specified, the `action` will be applied to all line items.
*/
overrides:
| components['schemas']['BillingVoidInvoiceLineOverride'][]
| null
| components['schemas']['BillingVoidInvoiceLineOverride'][]
| null
}
/**
* VoidInvoiceLineAction describes how to handle the voidied line item in the invoice.
Expand Down Expand Up @@ -2135,8 +2135,8 @@ export interface components {
* or provide a customer object to create a new customer.
*/
customer:
| components['schemas']['CustomerId']
| components['schemas']['Customer']
| components['schemas']['CustomerId']
| components['schemas']['Customer']
/**
* @description Stripe customer ID.
* If not provided OpenMeter creates a new Stripe customer or
Expand Down Expand Up @@ -2389,9 +2389,9 @@ export interface components {
* Features are omitted from the entitlement template, as they are defined in the rate card.
*/
Entitlement:
| components['schemas']['EntitlementMetered']
| components['schemas']['EntitlementStatic']
| components['schemas']['EntitlementBoolean']
| components['schemas']['EntitlementMetered']
| components['schemas']['EntitlementStatic']
| components['schemas']['EntitlementBoolean']
/** @description Shared fields of the entitlement templates. */
EntitlementBaseTemplate: {
/**
Expand Down Expand Up @@ -2531,9 +2531,9 @@ export interface components {
}
/** @description Create inputs for entitlement */
EntitlementCreateInputs:
| components['schemas']['EntitlementMeteredCreateInputs']
| components['schemas']['EntitlementStaticCreateInputs']
| components['schemas']['EntitlementBooleanCreateInputs']
| components['schemas']['EntitlementMeteredCreateInputs']
| components['schemas']['EntitlementStaticCreateInputs']
| components['schemas']['EntitlementBooleanCreateInputs']
/** @description The grant. */
EntitlementGrant: {
/**
Expand Down Expand Up @@ -3407,11 +3407,11 @@ export interface components {
items: components['schemas']['BillingInvoice'][]
}
ListEntitlementsResult:
| components['schemas']['Entitlement'][]
| components['schemas']['EntitlementPaginatedResponse']
| components['schemas']['Entitlement'][]
| components['schemas']['EntitlementPaginatedResponse']
ListFeaturesResult:
| components['schemas']['Feature'][]
| components['schemas']['FeaturePaginatedResponse']
| components['schemas']['Feature'][]
| components['schemas']['FeaturePaginatedResponse']
/**
* @description A marketplace listing.
* Represent an available app in the app marketplace that can be installed to the organization.
Expand Down Expand Up @@ -3469,8 +3469,8 @@ export interface components {
}
/** @description Measure usage from */
MeasureUsageFrom:
| components['schemas']['MeasureUsageFromPreset']
| components['schemas']['MeasureUsageFromTime']
| components['schemas']['MeasureUsageFromPreset']
| components['schemas']['MeasureUsageFromTime']
/**
* @description Start of measurement options
* @enum {string}
Expand Down Expand Up @@ -3959,10 +3959,10 @@ export interface components {
* @enum {string}
*/
NotificationEventDeliveryStatusState:
| 'SUCCESS'
| 'FAILED'
| 'SENDING'
| 'PENDING'
| 'SUCCESS'
| 'FAILED'
| 'SENDING'
| 'PENDING'
/**
* @description Order by options for notification channels.
* @enum {string}
Expand Down Expand Up @@ -4153,13 +4153,13 @@ export interface components {
* @enum {string}
*/
OAuth2AuthorizationCodeGrantErrorType:
| 'invalid_request'
| 'unauthorized_client'
| 'access_denied'
| 'unsupported_response_type'
| 'invalid_scope'
| 'server_error'
| 'temporarily_unavailable'
| 'invalid_request'
| 'unauthorized_client'
| 'access_denied'
| 'unsupported_response_type'
| 'invalid_scope'
| 'server_error'
| 'temporarily_unavailable'
/** @description Numeric representation of a percentage */
Percentage: string
/** @description A period with a start and end time. */
Expand Down Expand Up @@ -4672,8 +4672,8 @@ export interface components {
}
/** @description A rate card defines the pricing and entitlement of a feature or service. */
RateCard:
| components['schemas']['RateCardFlatFee']
| components['schemas']['RateCardUsageBased']
| components['schemas']['RateCardFlatFee']
| components['schemas']['RateCardUsageBased']
/** @description Entitlement template of a boolean entitlement. */
RateCardBooleanEntitlement: {
/** @description Additional metadata for the feature. */
Expand All @@ -4686,9 +4686,9 @@ export interface components {
* Features are omitted from the entitlement template, as they are defined in the rate card.
*/
RateCardEntitlement:
| components['schemas']['RateCardMeteredEntitlement']
| components['schemas']['RateCardStaticEntitlement']
| components['schemas']['RateCardBooleanEntitlement']
| components['schemas']['RateCardMeteredEntitlement']
| components['schemas']['RateCardStaticEntitlement']
| components['schemas']['RateCardBooleanEntitlement']
/** @description A flat fee rate card defines a one-time purchase or a recurring fee. */
RateCardFlatFee: {
/**
Expand Down Expand Up @@ -4872,8 +4872,8 @@ export interface components {
}
/** @description A rate card defines the pricing and entitlement of a feature or service. */
RateCardUpdateItem:
| components['schemas']['RateCardFlatFeeUpdateItem']
| components['schemas']['RateCardUsageBasedUpdateItem']
| components['schemas']['RateCardFlatFeeUpdateItem']
| components['schemas']['RateCardUsageBasedUpdateItem']
/** @description A usage-based rate card defines a price based on usage. */
RateCardUsageBased: {
/**
Expand Down Expand Up @@ -4948,9 +4948,9 @@ export interface components {
* @example {}
*/
price:
| (components['schemas']['UnitPriceWithCommitments'] | null)
| (components['schemas']['TieredPriceWithCommitments'] | null)
| (components['schemas']['FlatPriceWithPaymentTerm'] | null)
| (components['schemas']['UnitPriceWithCommitments'] | null)
| (components['schemas']['TieredPriceWithCommitments'] | null)
| (components['schemas']['FlatPriceWithPaymentTerm'] | null)
}
/** @description A usage-based rate card defines a price based on usage. */
RateCardUsageBasedUpdateItem: {
Expand Down Expand Up @@ -5000,9 +5000,9 @@ export interface components {
* @example {}
*/
price:
| (components['schemas']['UnitPriceWithCommitmentsUpdateItem'] | null)
| (components['schemas']['TieredPriceWithCommitmentsUpdateItem'] | null)
| (components['schemas']['FlatPriceWithPaymentTermUpdateItem'] | null)
| (components['schemas']['UnitPriceWithCommitmentsUpdateItem'] | null)
| (components['schemas']['TieredPriceWithCommitmentsUpdateItem'] | null)
| (components['schemas']['FlatPriceWithPaymentTermUpdateItem'] | null)
}
/**
* @description Recurring period with an interval and an anchor.
Expand Down Expand Up @@ -5244,12 +5244,12 @@ export interface components {
* @enum {string}
*/
StripePaymentIntentStatus:
| 'canceled'
| 'processing'
| 'requires_action'
| 'requires_confirmation'
| 'requires_payment_method'
| 'succeeded'
| 'canceled'
| 'processing'
| 'requires_action'
| 'requires_confirmation'
| 'requires_payment_method'
| 'succeeded'
/** @description Stripe setup intent. */
StripeSetupIntent: {
/** @description The setup intent id. */
Expand Down Expand Up @@ -5654,9 +5654,9 @@ export interface components {
* @example {}
*/
price:
| (components['schemas']['FlatPriceWithPaymentTerm'] | null)
| (components['schemas']['UnitPriceWithCommitments'] | null)
| (components['schemas']['TieredPriceWithCommitments'] | null)
| (components['schemas']['FlatPriceWithPaymentTerm'] | null)
| (components['schemas']['UnitPriceWithCommitments'] | null)
| (components['schemas']['TieredPriceWithCommitments'] | null)
/** @description Describes what access is gained via the SubscriptionItem */
included?: {
/** @description The feature the customer is entitled to use. */
Expand Down Expand Up @@ -5761,13 +5761,13 @@ export interface components {
* @enum {string}
*/
type:
| 'endpoint.created'
| 'endpoint.deleted'
| 'endpoint.disabled'
| 'endpoint.updated'
| 'message.attempt.exhausted'
| 'message.attempt.failing'
| 'message.attempt.recovered'
| 'endpoint.created'
| 'endpoint.deleted'
| 'endpoint.disabled'
| 'endpoint.updated'
| 'message.attempt.exhausted'
| 'message.attempt.failing'
| 'message.attempt.recovered'
/**
* Operational Webhook Payload
* @description The payload of the Svix operational webhook request.
Expand Down Expand Up @@ -8675,8 +8675,8 @@ export interface operations {
200: {
content: {
'application/json':
| components['schemas']['EntitlementGrant'][]
| components['schemas']['GrantPaginatedResponse']
| components['schemas']['EntitlementGrant'][]
| components['schemas']['GrantPaginatedResponse']
}
}
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
Expand Down Expand Up @@ -12343,8 +12343,8 @@ export interface operations {
200: {
content: {
'application/json':
| components['schemas']['Subscription']
| components['schemas']['SubscriptionExpanded']
| components['schemas']['Subscription']
| components['schemas']['SubscriptionExpanded']
}
}
/** @description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing). */
Expand Down

0 comments on commit a4512a4

Please sign in to comment.