abowire
Version:
This is the official **Abowire Javascript SDK**, which makes it easy to connect to the Abowire **GraphQL API** and includes all the required dependencies you need.
21 lines (20 loc) • 1.32 kB
TypeScript
export declare const clientOptionsSchema: import("yup/lib/object").OptionalObjectSchema<{
getAccessToken: any;
accountId: import("yup").StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
clientId: import("yup").StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
graphqlUrl: import("yup").StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
autoLogin: import("yup").BooleanSchema<boolean, import("yup/lib/types").AnyObject, boolean>;
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
getAccessToken: any;
accountId: import("yup").StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
clientId: import("yup").StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
graphqlUrl: import("yup").StringSchema<string | undefined, import("yup/lib/types").AnyObject, string | undefined>;
autoLogin: import("yup").BooleanSchema<boolean, import("yup/lib/types").AnyObject, boolean>;
}>>;
export type GraphQLClientOptions = {
getAccessToken?: () => Promise<string | undefined>;
accountId?: string;
clientId?: string;
graphqlUrl?: string;
autoLogin?: boolean;
};