-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from HubSpot/feature/add-site-search-cms-clients
Feature/add site search cms clients
- Loading branch information
Showing
14 changed files
with
1,795 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// This is the entrypoint for the package | ||
export * from './api/apis'; | ||
export * from './model/models'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
export * from './defaultApi'; | ||
import { DefaultApi } from './defaultApi'; | ||
import * as fs from 'fs'; | ||
import * as http from 'http'; | ||
|
||
export class HttpError extends Error { | ||
constructor (public response: http.IncomingMessage, public body: any, public statusCode?: number) { | ||
super('HTTP request failed'); | ||
this.name = 'HttpError'; | ||
} | ||
} | ||
|
||
export interface RequestDetailedFile { | ||
value: Buffer; | ||
options?: { | ||
filename?: string; | ||
contentType?: string; | ||
} | ||
} | ||
|
||
export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile; | ||
|
||
export const APIS = [DefaultApi]; |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.