Skip to content

Commit

Permalink
run yarn pages
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 committed Mar 17, 2024
1 parent 94a3b97 commit 2ab5cd6
Show file tree
Hide file tree
Showing 34 changed files with 2,940 additions and 103 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Flightpath: Plan for the future with flexible financial modeling tools built for
companyKebabCase="baremetrics"
clientNameCamelCase="baremetrics"
homepage="baremetrics.com"
lastUpdated={new Date("2024-03-14T08:38:56.572Z")}
lastUpdated={new Date("2024-03-15T18:50:00.907Z")}
faviconUrl="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/baremetrics/favicon.png"
// Missing contactUrl
// Missing contactEmail
Expand Down
6 changes: 3 additions & 3 deletions generator/konfig-docs/src/pages/sdk/baseten/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Company } from '../../../components/Company';
const sdks = [
{
"name": "Baseten",
"numberOfMethods": 8,
"numberOfMethods": 13,
"categories": [
"ai",
"ml",
Expand Down Expand Up @@ -38,7 +38,7 @@ const sdks = [
},
{
"name": "Baseten",
"numberOfMethods": 8,
"numberOfMethods": 13,
"categories": [
"ai",
"ml",
Expand Down Expand Up @@ -72,7 +72,7 @@ const sdks = [
},
{
"name": "Baseten",
"numberOfMethods": 8,
"numberOfMethods": 13,
"categories": [
"ai",
"ml",
Expand Down
99 changes: 94 additions & 5 deletions generator/konfig-docs/src/pages/sdk/baseten/typescript/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function BasetenTypeScriptSdk() {
companyKebabCase="baseten"
clientNameCamelCase="baseten"
homepage="baseten.co"
lastUpdated={new Date("2024-03-14T08:10:33.678Z")}
lastUpdated={new Date("2024-03-15T18:50:00.907Z")}
faviconUrl="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/baseten/favicon.png"
// Missing contactUrl
// Missing contactEmail
Expand Down Expand Up @@ -74,6 +74,51 @@ export default function BasetenTypeScriptSdk() {
}
]
},
{
"url": "/v1/models",
"method": "getAllModels",
"httpMethod": HttpMethodsEnum.GET,
"tag": "Model",
"typeScriptTag": "model",
"description": "Gets all models",
"parameters": [],
"responses": [
{
"statusCode": "200",
"description": "A list of models."
}
]
},
{
"url": "/v1/models/{model_id}",
"method": "getModelById",
"httpMethod": HttpMethodsEnum.GET,
"tag": "Model",
"typeScriptTag": "model",
"description": "Gets a model by ID",
"parameters": [],
"responses": [
{
"statusCode": "200",
"description": "A model."
}
]
},
{
"url": "/v1/models/{model_id}/deployments",
"method": "getAllDeployments",
"httpMethod": HttpMethodsEnum.GET,
"tag": "Model",
"typeScriptTag": "model",
"description": "Gets all deployments of a model",
"parameters": [],
"responses": [
{
"statusCode": "200",
"description": "A list of deployments of a model."
}
]
},
{
"url": "/v1/models/{model_id}/deployments/development",
"method": "getDevelopmentDetails",
Expand Down Expand Up @@ -256,17 +301,61 @@ export default function BasetenTypeScriptSdk() {
"description": "The response to a request to update autoscaling settings."
}
]
},
{
"url": "/v1/models/{model_id}/deployments/development/promote",
"method": "deployPromote",
"httpMethod": HttpMethodsEnum.POST,
"tag": "Model",
"typeScriptTag": "model",
"description": "Promotes a development deployment to production",
"parameters": [
{
"name": "scale_down_previous_production",
"schema": "boolean",
"description": "",
"default": true
}
],
"responses": [
{
"statusCode": "200",
"description": "A deployment of a model."
}
]
},
{
"url": "/v1/models/{model_id}/deployments/{deployment_id}/promote",
"method": "deploymentPromote",
"httpMethod": HttpMethodsEnum.POST,
"tag": "Model",
"typeScriptTag": "model",
"description": "Promotes a deployment to production",
"parameters": [
{
"name": "scale_down_previous_production",
"schema": "boolean",
"description": "",
"default": true
}
],
"responses": [
{
"statusCode": "200",
"description": "A deployment of a model."
}
]
}
]
}
language="TypeScript"
apiTitle="Baseten management API"
apiBaseUrl="https://api.baseten.co"
apiVersion="1.0.0"
endpoints={7}
sdkMethods={14}
schemas={9}
parameters={17}
endpoints={12}
sdkMethods={23}
schemas={13}
parameters={19}
difficulty="Easy"
openApiRaw="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/baseten/openapi.yaml"
openApiGitHubUi="https://github.com/konfig-sdks/openapi-examples/tree/HEAD/baseten/openapi.yaml"
Expand Down
6 changes: 3 additions & 3 deletions generator/konfig-docs/src/pages/sdk/box/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Company } from '../../../components/Company';
const sdks = [
{
"name": "Box",
"numberOfMethods": 263,
"numberOfMethods": 264,
"categories": [
"collaboration",
"storage",
Expand All @@ -24,7 +24,7 @@ const sdks = [
},
{
"name": "Box",
"numberOfMethods": 263,
"numberOfMethods": 264,
"categories": [
"collaboration",
"storage",
Expand All @@ -44,7 +44,7 @@ const sdks = [
},
{
"name": "Box",
"numberOfMethods": 263,
"numberOfMethods": 264,
"categories": [
"collaboration",
"storage",
Expand Down
109 changes: 104 additions & 5 deletions generator/konfig-docs/src/pages/sdk/box/typescript/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function BoxTypeScriptSdk() {
companyKebabCase="box"
clientNameCamelCase="box"
homepage="box.com"
lastUpdated={new Date("2024-03-14T08:10:33.678Z")}
lastUpdated={new Date("2024-03-17T23:48:01.149Z")}
faviconUrl="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/box/favicon.png"
contactUrl="https://box.dev"
contactEmail="[email protected]"
Expand Down Expand Up @@ -12565,17 +12565,116 @@ export default function BoxTypeScriptSdk() {
"description": "A generic error"
}
]
},
{
"url": "/file_activities",
"method": "listByFileId",
"httpMethod": HttpMethodsEnum.GET,
"tag": "File activities",
"typeScriptTag": "fileActivities",
"description": "List file activities",
"parameters": [
{
"name": "fileId",
"schema": "string",
"required": true,
"description": "File ID for which to retrieve activity",
"example": "888578620991"
},
{
"name": "activityTypes",
"schema": "array",
"description": "Comma-separated list of activity types to return. This field is ignored if marker is passed in. Defaults to all activity types.",
"example": "comment,task,annotation,versions,app_activity"
},
{
"name": "commentFields",
"schema": "array",
"description": "fields that are required for comments",
"example": "tagged_message,message,created_at,created_by,modified_at,permissions"
},
{
"name": "versionsFields",
"schema": "array",
"description": "fields that are required for versions",
"example": "created_by,end,start,type"
},
{
"name": "annotationFields",
"schema": "array",
"description": "fields that are required for annotations",
"example": "file_version,description,created_at,created_by,modified_at,permissions,target,status"
},
{
"name": "taskFields",
"schema": "array",
"description": "fields that are required for tasks",
"example": "description,created_at,created_by,modified_at,permissions,completion_rule,status"
},
{
"name": "appActivityFields",
"schema": "array",
"description": "fields that are required for `app_activity`",
"example": "rendered_text,occurred_at,created_by,activity_template,app"
},
{
"name": "replyLimit",
"schema": "string",
"description": "maximum number of replies the response should contain per each top level activity[annotation, comment]",
"example": 1
},
{
"name": "status",
"schema": "string",
"description": "Used to filter an annotation or a comment based on the status",
"example": "open"
},
{
"name": "enableReplies",
"schema": "boolean",
"description": "Whether or not replies should be returned",
"example": true
},
{
"name": "limit",
"schema": "integer",
"required": false,
"description": "The maximum number of items to return per page.",
"example": 1000
},
{
"name": "marker",
"schema": "string",
"required": false,
"description": "Defines the position marker at which to begin returning results. This is\nused when paginating using marker-based pagination.\n\nThis requires `usemarker` to be set to `true`.",
"example": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
}
],
"responses": [
{
"statusCode": "200",
"description": "A list of file activities"
},
{
"statusCode": "404",
"description": "A generic error"
},
{
"statusCode": "default",
"description": "A generic error"
}
]
}
]
}
language="TypeScript"
apiTitle="Box Platform API"
apiBaseUrl="https://api.box.com/2.0"
apiVersion="2.0.0"
endpoints={163}
sdkMethods={263}
schemas={297}
parameters={792}
endpoints={164}
sdkMethods={264}
schemas={332}
parameters={804}
difficulty="Very Hard"
openApiRaw="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/box/openapi.yaml"
openApiGitHubUi="https://github.com/konfig-sdks/openapi-examples/tree/HEAD/box/openapi.yaml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function ClickUpTypeScriptSdk() {
companyKebabCase="click-up"
clientNameCamelCase="clickUp"
homepage="clickup.com"
lastUpdated={new Date("2024-03-14T08:38:56.572Z")}
lastUpdated={new Date("2024-03-15T18:50:00.907Z")}
faviconUrl="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/clickup/favicon.png"
// Missing contactUrl
// Missing contactEmail
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function ElevenLabsTypeScriptSdk() {
companyKebabCase="eleven-labs"
clientNameCamelCase="elevenLabs"
homepage="elevenlabs.com"
lastUpdated={new Date("2024-03-14T08:38:56.572Z")}
lastUpdated={new Date("2024-03-15T18:50:00.907Z")}
faviconUrl="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/elevenlabs/favicon.png"
// Missing contactUrl
// Missing contactEmail
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ By default, a list API returns up to 25 results. If there are more results avail

### Change page size

You can request a different number of results (between 1 and 100, inclusive) by using the `page[size]` query parameter:
You can request a different number of results (between 1 and 200, inclusive) by using the `page[size]` query parameter:

```
GET /v0/organizations/:id/bank/accounts?page[size]=100
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Griffin is authorised (with restrictions) by the PRA and FCA and backed by leadi
companyKebabCase="griffin"
clientNameCamelCase="griffin"
homepage="griffin.com"
lastUpdated={new Date("2024-03-14T08:10:33.678Z")}
lastUpdated={new Date("2024-03-15T18:50:00.907Z")}
faviconUrl="https://raw.githubusercontent.com/konfig-sdks/openapi-examples/HEAD/griffin/favicon.png"
// Missing contactUrl
// Missing contactEmail
Expand Down
Loading

0 comments on commit 2ab5cd6

Please sign in to comment.