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 Oct 28, 2024
1 parent 27e905b commit cc02dc9
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 101 deletions.
52 changes: 15 additions & 37 deletions clients/packages/sdk/openapi/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -8489,8 +8489,8 @@
"description": "Filter by the type of purchase the customer made.",
"default": [
"donation",
"order",
"free_subscription",
"order",
"paid_subscription"
],
"title": "Customer Types"
Expand Down Expand Up @@ -19226,10 +19226,6 @@
"format": "uuid4",
"title": "Id"
},
"username": {
"type": "string",
"title": "Username"
},
"email": {
"type": "string",
"format": "email",
Expand All @@ -19250,7 +19246,6 @@
"type": "object",
"required": [
"id",
"username",
"email",
"avatar_url"
],
Expand Down Expand Up @@ -29975,20 +29970,9 @@
},
"OrganizationMember": {
"properties": {
"name": {
"email": {
"type": "string",
"title": "Name"
},
"github_username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Github Username"
"title": "Email"
},
"avatar_url": {
"anyOf": [
Expand All @@ -30004,8 +29988,7 @@
},
"type": "object",
"required": [
"name",
"github_username",
"email",
"avatar_url"
],
"title": "OrganizationMember"
Expand Down Expand Up @@ -35315,18 +35298,25 @@
},
"User": {
"properties": {
"username": {
"public_name": {
"type": "string",
"title": "Username"
"title": "Public Name"
},
"avatar_url": {
"type": "string",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Avatar Url"
}
},
"type": "object",
"required": [
"username",
"public_name",
"avatar_url"
],
"title": "User"
Expand Down Expand Up @@ -35554,11 +35544,6 @@
},
"UserBase": {
"properties": {
"username": {
"type": "string",
"maxLength": 50,
"title": "Username"
},
"email": {
"type": "string",
"format": "email",
Expand Down Expand Up @@ -35590,7 +35575,6 @@
},
"type": "object",
"required": [
"username",
"email",
"avatar_url",
"account_id"
Expand Down Expand Up @@ -36088,11 +36072,6 @@
"title": "Modified At",
"description": "Last modification timestamp of the object."
},
"username": {
"type": "string",
"maxLength": 50,
"title": "Username"
},
"email": {
"type": "string",
"format": "email",
Expand Down Expand Up @@ -36142,7 +36121,6 @@
"required": [
"created_at",
"modified_at",
"username",
"email",
"avatar_url",
"account_id",
Expand Down
52 changes: 15 additions & 37 deletions clients/packages/sdk/openapi/updated.json
Original file line number Diff line number Diff line change
Expand Up @@ -8413,8 +8413,8 @@
"description": "Filter by the type of purchase the customer made.",
"default": [
"donation",
"order",
"free_subscription",
"order",
"paid_subscription"
],
"title": "Customer Types"
Expand Down Expand Up @@ -18347,10 +18347,6 @@
"format": "uuid4",
"title": "Id"
},
"username": {
"type": "string",
"title": "Username"
},
"email": {
"type": "string",
"format": "email",
Expand All @@ -18371,7 +18367,6 @@
"type": "object",
"required": [
"id",
"username",
"email",
"avatar_url"
],
Expand Down Expand Up @@ -29096,20 +29091,9 @@
},
"OrganizationMember": {
"properties": {
"name": {
"email": {
"type": "string",
"title": "Name"
},
"github_username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Github Username"
"title": "Email"
},
"avatar_url": {
"anyOf": [
Expand All @@ -29125,8 +29109,7 @@
},
"type": "object",
"required": [
"name",
"github_username",
"email",
"avatar_url"
],
"title": "OrganizationMember"
Expand Down Expand Up @@ -34436,18 +34419,25 @@
},
"User": {
"properties": {
"username": {
"public_name": {
"type": "string",
"title": "Username"
"title": "Public Name"
},
"avatar_url": {
"type": "string",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Avatar Url"
}
},
"type": "object",
"required": [
"username",
"public_name",
"avatar_url"
],
"title": "User"
Expand Down Expand Up @@ -34675,11 +34665,6 @@
},
"UserBase": {
"properties": {
"username": {
"type": "string",
"maxLength": 50,
"title": "Username"
},
"email": {
"type": "string",
"format": "email",
Expand Down Expand Up @@ -34711,7 +34696,6 @@
},
"type": "object",
"required": [
"username",
"email",
"avatar_url",
"account_id"
Expand Down Expand Up @@ -35209,11 +35193,6 @@
"title": "Modified At",
"description": "Last modification timestamp of the object."
},
"username": {
"type": "string",
"maxLength": 50,
"title": "Username"
},
"email": {
"type": "string",
"format": "email",
Expand Down Expand Up @@ -35263,7 +35242,6 @@
"required": [
"created_at",
"modified_at",
"username",
"email",
"avatar_url",
"account_id",
Expand Down
30 changes: 3 additions & 27 deletions clients/packages/sdk/src/client/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1580,12 +1580,6 @@ export interface AuthorizeUser {
* @memberof AuthorizeUser
*/
id: string;
/**
*
* @type {string}
* @memberof AuthorizeUser
*/
username: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -10696,13 +10690,7 @@ export interface OrganizationMember {
* @type {string}
* @memberof OrganizationMember
*/
name: string;
/**
*
* @type {string}
* @memberof OrganizationMember
*/
github_username: string | null;
email: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -15497,13 +15485,13 @@ export interface User {
* @type {string}
* @memberof User
*/
username: string;
public_name: string;
/**
*
* @type {string}
* @memberof User
*/
avatar_url: string;
avatar_url: string | null;
}
/**
*
Expand Down Expand Up @@ -15668,12 +15656,6 @@ export type UserAdvertisementSortProperty = typeof UserAdvertisementSortProperty
* @interface UserBase
*/
export interface UserBase {
/**
*
* @type {string}
* @memberof UserBase
*/
username: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -16084,12 +16066,6 @@ export interface UserRead {
* @memberof UserRead
*/
modified_at: string | null;
/**
*
* @type {string}
* @memberof UserRead
*/
username: string;
/**
*
* @type {string}
Expand Down

0 comments on commit cc02dc9

Please sign in to comment.