From 59c57de1bb2adcae4fc3d4f3943e11b02accce84 Mon Sep 17 00:00:00 2001 From: tothandras Date: Thu, 26 Oct 2023 20:22:10 +0000 Subject: [PATCH] chore(api): generate node client --- api/client/node/package-lock.json | 4 ++-- api/client/node/package.json | 2 +- api/client/node/schemas/openapi.ts | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/client/node/package-lock.json b/api/client/node/package-lock.json index 161367c81..dfb01483c 100644 --- a/api/client/node/package-lock.json +++ b/api/client/node/package-lock.json @@ -1,12 +1,12 @@ { "name": "@openmeter/sdk", - "version": "1.0.0-beta.9", + "version": "1.0.0-beta.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@openmeter/sdk", - "version": "1.0.0-beta.9", + "version": "1.0.0-beta.10", "license": "Apache 2.0", "dependencies": { "ai": "^2.2.19", diff --git a/api/client/node/package.json b/api/client/node/package.json index d94010b9e..6295a0197 100644 --- a/api/client/node/package.json +++ b/api/client/node/package.json @@ -1,6 +1,6 @@ { "name": "@openmeter/sdk", - "version": "1.0.0-beta.9", + "version": "1.0.0-beta.10", "description": "Client for OpenMeter: Real-Time and Scalable Usage Metering", "license": "Apache 2.0", "homepage": "https://openmeter.io", diff --git a/api/client/node/schemas/openapi.ts b/api/client/node/schemas/openapi.ts index ca23ac301..e107289b6 100644 --- a/api/client/node/schemas/openapi.ts +++ b/api/client/node/schemas/openapi.ts @@ -254,7 +254,7 @@ export type external = Record export interface operations { /** @description Retrieve latest raw events. */ listEvents: { - parameters?: { + parameters: { query?: { /** @description Number of events to return. */ limit?: number @@ -276,7 +276,7 @@ export interface operations { } /** @description Ingest events */ ingestEvents: { - parameters?: { + parameters: { header?: { 'OM-Namespace'?: components['parameters']['namespaceParam'] } @@ -298,7 +298,7 @@ export interface operations { } /** @description List meters */ listMeters: { - parameters?: { + parameters: { header?: { 'OM-Namespace'?: components['parameters']['namespaceParam'] } @@ -315,7 +315,7 @@ export interface operations { } /** @description Create meter */ createMeter: { - parameters?: { + parameters: { header?: { 'OM-Namespace'?: components['parameters']['namespaceParam'] }