Skip to content

Commit

Permalink
clients/sdk: update OpenAPI client
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Jan 6, 2025
1 parent 7c992b5 commit 2cdf675
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions clients/packages/sdk/src/client/apis/ProductsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import type {
Product,
ProductBenefitsUpdate,
ProductCreate,
ProductIDFilter,
ProductSortProperty,
ProductUpdate,
ResourceNotFound,
Expand All @@ -37,6 +38,7 @@ export interface ProductsApiGetRequest {
}

export interface ProductsApiListRequest {
id?: ProductIDFilter | null;
organizationId?: OrganizationIDFilter1 | null;
query?: string | null;
isArchived?: boolean | null;
Expand Down Expand Up @@ -158,6 +160,10 @@ export class ProductsApi extends runtime.BaseAPI {
async listRaw(requestParameters: ProductsApiListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListResourceProduct>> {
const queryParameters: any = {};

if (requestParameters['id'] != null) {
queryParameters['id'] = requestParameters['id'];
}

if (requestParameters['organizationId'] != null) {
queryParameters['organization_id'] = requestParameters['organizationId'];
}
Expand Down
4 changes: 2 additions & 2 deletions clients/packages/sdk/src/client/apis/SubscriptionsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export class SubscriptionsApi extends runtime.BaseAPI {
}

/**
* Update a subscription of the authenticated customer or user.
* Update a subscription.
* Update Subscription
*/
async updateRaw(requestParameters: SubscriptionsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Subscription>> {
Expand Down Expand Up @@ -258,7 +258,7 @@ export class SubscriptionsApi extends runtime.BaseAPI {
}

/**
* Update a subscription of the authenticated customer or user.
* Update a subscription.
* Update Subscription
*/
async update(requestParameters: SubscriptionsApiUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Subscription> {
Expand Down

0 comments on commit 2cdf675

Please sign in to comment.