Skip to content

Commit bbe00aa

Browse files
committed
Update schema
1 parent 1b28fa6 commit bbe00aa

File tree

438 files changed

+2395
-884
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

438 files changed

+2395
-884
lines changed

client/typescript/PosthogAPIClient.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* generated using openapi-typescript-codegen -- do not edit */
1+
/* generated using openapi-typescript-codegen -- do no edit */
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
@@ -42,6 +42,7 @@ import { PluginConfigsService } from './services/PluginConfigsService';
4242
import { PluginsService } from './services/PluginsService';
4343
import { ProjectsService } from './services/ProjectsService';
4444
import { PropertyDefinitionsService } from './services/PropertyDefinitionsService';
45+
import { ProxyRecordsService } from './services/ProxyRecordsService';
4546
import { QueryService } from './services/QueryService';
4647
import { RolesService } from './services/RolesService';
4748
import { SessionRecordingPlaylistsService } from './services/SessionRecordingPlaylistsService';
@@ -90,6 +91,7 @@ export class PosthogAPIClient {
9091
public readonly plugins: PluginsService;
9192
public readonly projects: ProjectsService;
9293
public readonly propertyDefinitions: PropertyDefinitionsService;
94+
public readonly proxyRecords: ProxyRecordsService;
9395
public readonly query: QueryService;
9496
public readonly roles: RolesService;
9597
public readonly sessionRecordingPlaylists: SessionRecordingPlaylistsService;
@@ -149,6 +151,7 @@ export class PosthogAPIClient {
149151
this.plugins = new PluginsService(this.request);
150152
this.projects = new ProjectsService(this.request);
151153
this.propertyDefinitions = new PropertyDefinitionsService(this.request);
154+
this.proxyRecords = new ProxyRecordsService(this.request);
152155
this.query = new QueryService(this.request);
153156
this.roles = new RolesService(this.request);
154157
this.sessionRecordingPlaylists = new SessionRecordingPlaylistsService(this.request);

client/typescript/core/ApiError.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* generated using openapi-typescript-codegen -- do not edit */
1+
/* generated using openapi-typescript-codegen -- do no edit */
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */

client/typescript/core/ApiRequestOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* generated using openapi-typescript-codegen -- do not edit */
1+
/* generated using openapi-typescript-codegen -- do no edit */
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */

client/typescript/core/ApiResult.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* generated using openapi-typescript-codegen -- do not edit */
1+
/* generated using openapi-typescript-codegen -- do no edit */
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */

client/typescript/core/BaseHttpRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* generated using openapi-typescript-codegen -- do not edit */
1+
/* generated using openapi-typescript-codegen -- do no edit */
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */

client/typescript/core/CancelablePromise.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* generated using openapi-typescript-codegen -- do not edit */
1+
/* generated using openapi-typescript-codegen -- do no edit */
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
@@ -85,9 +85,9 @@ export class CancelablePromise<T> implements Promise<T> {
8585
});
8686
}
8787

88-
get [Symbol.toStringTag]() {
89-
return "Cancellable Promise";
90-
}
88+
get [Symbol.toStringTag]() {
89+
return "Cancellable Promise";
90+
}
9191

9292
public then<TResult1 = T, TResult2 = never>(
9393
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,

client/typescript/core/FetchHttpRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* generated using openapi-typescript-codegen -- do not edit */
1+
/* generated using openapi-typescript-codegen -- do no edit */
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */

client/typescript/core/OpenAPI.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* generated using openapi-typescript-codegen -- do not edit */
1+
/* generated using openapi-typescript-codegen -- do no edit */
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */

client/typescript/core/request.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* generated using openapi-typescript-codegen -- do not edit */
1+
/* generated using openapi-typescript-codegen -- do no edit */
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
@@ -164,7 +164,7 @@ export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptio
164164
headers['Authorization'] = `Basic ${credentials}`;
165165
}
166166

167-
if (options.body !== undefined) {
167+
if (options.body) {
168168
if (options.mediaType) {
169169
headers['Content-Type'] = options.mediaType;
170170
} else if (isBlob(options.body)) {

client/typescript/index.ts

Lines changed: 50 additions & 13 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)