-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhealth.ts
51 lines (39 loc) · 923 Bytes
/
health.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from '../resource';
import * as Core from '../core';
export class Health extends APIResource {
/**
* Health
*/
retrieve(options?: Core.RequestOptions): Core.APIPromise<Health> {
return this._client.get('/health', options);
}
}
export interface Health {
data: Health.Data;
}
export namespace Health {
export interface Data {
gocardless: Data.Gocardless;
plaid: Data.Plaid;
search: Data.Search;
teller: Data.Teller;
}
export namespace Data {
export interface Gocardless {
healthy: boolean;
}
export interface Plaid {
healthy: boolean;
}
export interface Search {
healthy: boolean;
}
export interface Teller {
healthy: boolean;
}
}
}
export declare namespace Health {
export { type Health as Health };
}