Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.398.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot authored and frankie567 committed Sep 17, 2024
1 parent 56c0e99 commit 9bf4b17
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 983150e6-ebc8-43fe-9b18-750461aad344
management:
docChecksum: abb7b48b684152d4ba54f4a06081e618
docChecksum: a41833de0c337176a29493712465fce3
docVersion: 0.1.0
speakeasyVersion: 1.396.9
generationVersion: 2.415.7
releaseVersion: 0.8.1
configChecksum: 6411881c251f9c5ed8fa67aabc404d83
speakeasyVersion: 1.398.0
generationVersion: 2.415.8
releaseVersion: 0.8.2
configChecksum: be77f0f1baccd3fc82b824a2916d06cd
repoURL: https://github.com/polarsource/polar-js.git
installationURL: https://github.com/polarsource/polar-js
published: true
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: true
typescript:
version: 0.8.1
version: 0.8.2
additionalDependencies:
dependencies: {}
devDependencies: {}
Expand Down
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
speakeasyVersion: 1.396.9
speakeasyVersion: 1.398.0
sources:
Polar-OAS:
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:cfca1ca13c377c0079f9fe728bab50bc2318f8ccaa1873d7d50fa6d6ce18262d
sourceBlobDigest: sha256:f39249092d24cd7b2d2b9ebdd9643162901b4765ed7e6bcc382dcffd39d7b490
sourceRevisionDigest: sha256:88b5302f0234dd046c8819c2763203b2153a7cc19fcd26e1ecd5ae37e6c20ad7
sourceBlobDigest: sha256:cfa0bf065ba416bba77fc02ee0ff34c6b24d3363ba1d7bf3f3158a065b661d7d
tags:
- latest
- main
targets:
polar:
source: Polar-OAS
sourceNamespace: polar-oas
sourceRevisionDigest: sha256:cfca1ca13c377c0079f9fe728bab50bc2318f8ccaa1873d7d50fa6d6ce18262d
sourceBlobDigest: sha256:f39249092d24cd7b2d2b9ebdd9643162901b4765ed7e6bcc382dcffd39d7b490
sourceRevisionDigest: sha256:88b5302f0234dd046c8819c2763203b2153a7cc19fcd26e1ecd5ae37e6c20ad7
sourceBlobDigest: sha256:cfa0bf065ba416bba77fc02ee0ff34c6b24d3363ba1d7bf3f3158a065b661d7d
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,14 @@ Based on:
### Generated
- [typescript v0.8.1] .
### Releases
- [NPM v0.8.1] https://www.npmjs.com/package/@polar-sh/sdk/v/0.8.1 - .
- [NPM v0.8.1] https://www.npmjs.com/package/@polar-sh/sdk/v/0.8.1 - .

## 2024-09-17 00:21:01
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.398.0 (2.415.8) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.8.2] .
### Releases
- [NPM v0.8.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.8.2 - .
4 changes: 3 additions & 1 deletion docs/models/components/organizationprofilesettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ let value: OrganizationProfileSettings = {};

| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `enabled` | *boolean* | :heavy_minus_sign: | If this organization has a profile enabled |
| `description` | *string* | :heavy_minus_sign: | A description of the organization |
| `featuredProjects` | *string*[] | :heavy_minus_sign: | A list of featured projects |
| `featuredOrganizations` | *string*[] | :heavy_minus_sign: | A list of featured organizations |
| `links` | *string*[] | :heavy_minus_sign: | A list of links associated with the organization |
| `subscribe` | [components.OrganizationSubscribePromoteSettings](../../models/components/organizationsubscribepromotesettings.md) | :heavy_minus_sign: | Subscription promotion settings |
| `subscribe` | [components.OrganizationSubscribePromoteSettings](../../models/components/organizationsubscribepromotesettings.md) | :heavy_minus_sign: | Subscription promotion settings |
| `accentColor` | *string* | :heavy_minus_sign: | Accent color for the organization |
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@polar-sh/sdk",
"version": "0.8.1",
"version": "0.8.2",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polar-sh/sdk",
"version": "0.8.1",
"version": "0.8.2",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.1.0",
sdkVersion: "0.8.1",
genVersion: "2.415.7",
userAgent: "speakeasy-sdk/typescript 0.8.1 2.415.7 0.1.0 @polar-sh/sdk",
sdkVersion: "0.8.2",
genVersion: "2.415.8",
userAgent: "speakeasy-sdk/typescript 0.8.2 2.415.8 0.1.0 @polar-sh/sdk",
} as const;
16 changes: 16 additions & 0 deletions src/models/components/organizationprofilesettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ import {
} from "./organizationsubscribepromotesettings.js";

export type OrganizationProfileSettings = {
/**
* If this organization has a profile enabled
*/
enabled?: boolean | null | undefined;
/**
* A description of the organization
*/
Expand All @@ -32,6 +36,10 @@ export type OrganizationProfileSettings = {
* Subscription promotion settings
*/
subscribe?: OrganizationSubscribePromoteSettings | null | undefined;
/**
* Accent color for the organization
*/
accentColor?: string | null | undefined;
};

/** @internal */
Expand All @@ -40,26 +48,31 @@ export const OrganizationProfileSettings$inboundSchema: z.ZodType<
z.ZodTypeDef,
unknown
> = z.object({
enabled: z.nullable(z.boolean()).optional(),
description: z.nullable(z.string()).optional(),
featured_projects: z.nullable(z.array(z.string())).optional(),
featured_organizations: z.nullable(z.array(z.string())).optional(),
links: z.nullable(z.array(z.string())).optional(),
subscribe: z.nullable(OrganizationSubscribePromoteSettings$inboundSchema)
.optional(),
accent_color: z.nullable(z.string()).optional(),
}).transform((v) => {
return remap$(v, {
"featured_projects": "featuredProjects",
"featured_organizations": "featuredOrganizations",
"accent_color": "accentColor",
});
});

/** @internal */
export type OrganizationProfileSettings$Outbound = {
enabled?: boolean | null | undefined;
description?: string | null | undefined;
featured_projects?: Array<string> | null | undefined;
featured_organizations?: Array<string> | null | undefined;
links?: Array<string> | null | undefined;
subscribe?: OrganizationSubscribePromoteSettings$Outbound | null | undefined;
accent_color?: string | null | undefined;
};

/** @internal */
Expand All @@ -68,16 +81,19 @@ export const OrganizationProfileSettings$outboundSchema: z.ZodType<
z.ZodTypeDef,
OrganizationProfileSettings
> = z.object({
enabled: z.nullable(z.boolean()).optional(),
description: z.nullable(z.string()).optional(),
featuredProjects: z.nullable(z.array(z.string())).optional(),
featuredOrganizations: z.nullable(z.array(z.string())).optional(),
links: z.nullable(z.array(z.string())).optional(),
subscribe: z.nullable(OrganizationSubscribePromoteSettings$outboundSchema)
.optional(),
accentColor: z.nullable(z.string()).optional(),
}).transform((v) => {
return remap$(v, {
featuredProjects: "featured_projects",
featuredOrganizations: "featured_organizations",
accentColor: "accent_color",
});
});

Expand Down

0 comments on commit 9bf4b17

Please sign in to comment.