Skip to content

Commit

Permalink
Implement API v1.2.0 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Loupeznik committed Jan 22, 2024
1 parent 7d2811d commit 5b1ef2f
Show file tree
Hide file tree
Showing 12 changed files with 259 additions and 179 deletions.
2 changes: 1 addition & 1 deletion src/api/core/OpenAPI.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ApiRequestOptions } from "./ApiRequestOptions";
import type {ApiRequestOptions} from "./ApiRequestOptions";

type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
type Headers = Record<string, string>;
Expand Down
2 changes: 2 additions & 0 deletions src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ export { OpenAPI } from './core/OpenAPI';
export type { OpenAPIConfig } from './core/OpenAPI';

export type { models_DeleteRowRequest } from './models/models_DeleteRowRequest';
export type { models_DeleteRowRequestV2 } from './models/models_DeleteRowRequestV2';
export type { models_ErrorResponse } from './models/models_ErrorResponse';
export type { models_Login } from './models/models_Login';
export type { models_Record } from './models/models_Record';
export { models_RecordType } from './models/models_RecordType';
export type { models_SaveRowRequest } from './models/models_SaveRowRequest';
export type { models_SaveRowRequestV2 } from './models/models_SaveRowRequestV2';
export type { models_TokenResponse } from './models/models_TokenResponse';

export { AuthService } from './services/AuthService';
Expand Down
7 changes: 7 additions & 0 deletions src/api/models/models_DeleteRowRequestV2.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type models_DeleteRowRequestV2 = {
autocommit?: boolean;
};
14 changes: 7 additions & 7 deletions src/api/models/models_Record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
/* eslint-disable */

export type models_Record = {
ID?: string;
author_comment?: string;
changed_date?: string;
name?: string;
rdata?: string;
rdtype?: string;
ttl?: string;
ID?: string;
author_comment?: string;
changed_date?: string;
name?: string;
rdata?: string;
rdtype?: string;
ttl?: string;
};
2 changes: 1 addition & 1 deletion src/api/models/models_SaveRowRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { models_RecordType } from './models_RecordType';
export type models_SaveRowRequest = {
autocommit?: boolean;
data: string;
subdomain: string;
subdomain?: string;
ttl?: number;
type?: models_RecordType;
};
12 changes: 12 additions & 0 deletions src/api/models/models_SaveRowRequestV2.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { models_RecordType } from './models_RecordType';

export type models_SaveRowRequestV2 = {
autocommit?: boolean;
data: string;
ttl?: number;
type?: models_RecordType;
};
Loading

0 comments on commit 5b1ef2f

Please sign in to comment.