Skip to content

Commit

Permalink
feat: update next client for v2.62.1-1
Browse files Browse the repository at this point in the history
  • Loading branch information
ikadix committed Oct 30, 2024
1 parent b5bfbb6 commit cb38bb3
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 29 deletions.
1 change: 1 addition & 0 deletions next/core/core.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 6 additions & 9 deletions next/katapult-core-openapi.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
{
"openapi": "3.0.0",
"info": {
"contact": {
"name": "Katapult Support",
"email": "[email protected]",
"url": "https://katapult.io/contact"
},
"termsOfService": "https://katapult.io/terms",
"x-katapult-version": "2.61.1",
"x-katapult-version": "2.62.1-1-g34e6784b6",
"version": "1.0.0",
"title": "Katapult Core API",
"description": "Welcome to the documentation for the Katapult Core API"
Expand All @@ -18,7 +12,7 @@
},
"servers": [
{
"url": "https://api.katapult.io/core/v1"
"url": "http://api.staging.katapult.dev/core/v1"
}
],
"paths": {
Expand Down Expand Up @@ -25467,6 +25461,9 @@
"type": "integer",
"description": "The total storage used in bytes (updated periodically)"
},
"bucket_count": {
"type": "integer"
},
"data_center": {
"$ref": "#/components/schemas/DataCenter"
}
Expand Down Expand Up @@ -28076,4 +28073,4 @@
]
}
]
}
}
36 changes: 19 additions & 17 deletions next/katapult-public-openapi.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
{
"openapi": "3.0.0",
"info": {
"contact": {
"name": "Katapult Support",
"email": "[email protected]",
"url": "https://katapult.io/contact"
},
"termsOfService": "https://katapult.io/terms",
"x-katapult-version": "2.61.1",
"x-katapult-version": "2.62.1-1-g34e6784b6",
"version": "1.0.0",
"title": "Katapult Public API",
"description": "Welcome to the documentation for the Katapult Public API"
Expand All @@ -18,7 +12,7 @@
},
"servers": [
{
"url": "https://api.katapult.io/public/v1"
"url": "http://api.staging.katapult.dev/public/v1"
}
],
"paths": {
Expand Down Expand Up @@ -191,7 +185,7 @@
"post": {
"operationId": "post:signups",
"summary": "Create signup",
"description": "This will create a new signup object and e-mail the appropriate welcome e-mail to the given email address",
"description": "This will create a new signup object, which can be either verified by e-mail or by the user creating an account in Identity",
"tags": [
"Signups"
],
Expand All @@ -200,6 +194,10 @@
"application/json": {
"schema": {
"properties": {
"verify_with_email": {
"type": "boolean",
"description": "If true, the user will be sent an email to verify their e-mail address, and if false, the user will need to verify their e-mail address when they create an account in Identity"
},
"email_address": {
"type": "string",
"description": "The e-mail address that should receive the welcome e-mail"
Expand All @@ -211,17 +209,14 @@
"campaign": {
"$ref": "#/components/schemas/SignupCampaignArguments"
}
},
"required": [
"email_address"
]
}
}
}
}
},
"responses": {
"200": {
"description": "This will create a new signup object and e-mail the appropriate welcome e-mail to the given email address",
"description": "This will create a new signup object, which can be either verified by e-mail or by the user creating an account in Identity",
"content": {
"application/json": {
"schema": {
Expand All @@ -232,12 +227,19 @@
},
"email_address": {
"type": "string",
"description": "The e-mail address that was sent the welcome email"
"description": "The e-mail address that was sent the welcome email",
"nullable": true
},
"url": {
"type": "string",
"description": "The URL for the user to continue their signup process, only available if verify_with_email is false",
"nullable": true
}
},
"required": [
"id",
"email_address"
"email_address",
"url"
]
}
}
Expand Down Expand Up @@ -1111,4 +1113,4 @@
]
}
]
}
}
15 changes: 12 additions & 3 deletions next/public/public.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb38bb3

Please sign in to comment.