We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0091ea8 commit a74622aCopy full SHA for a74622a
src/themes.ts
@@ -36,7 +36,7 @@ export class Themes {
36
public list(args?: {
37
page?: number
38
pageSize?: number
39
- }): Promise<Typeform.Theme[]> {
+ }): Promise<Typeform.API.Themes.List> {
40
const { page, pageSize } = args || { page: null, pageSize: null }
41
42
return this._http.request({
src/typeform-types.ts
@@ -94,6 +94,13 @@ export namespace Typeform {
94
items: Response[]
95
}
96
97
+ export namespace Themes {
98
+ export interface List {
99
+ total_items: number
100
+ page_count: number
101
+ items: Theme[]
102
+ }
103
104
export namespace Webhooks {
105
export interface List {
106
items: Webhook[]
0 commit comments