@dodi-smart/nuki-graphql-api
Version:
Nuki GraphQL API
51 lines • 2.02 kB
TypeScript
import type { AuthenticationInfo } from './AuthenticationInfo';
import type { CacheDirective } from './CacheDirective';
import type { ChallengeRequest } from './ChallengeRequest';
import type { CookieSetting } from './CookieSetting';
import type { Header } from './Header';
import type { Method } from './Method';
import type { RecipientInfo } from './RecipientInfo';
import type { Reference } from './Reference';
import type { Representation } from './Representation';
import type { Request } from './Request';
import type { ServerInfo } from './ServerInfo';
import type { Status } from './Status';
import type { Uniform } from './Uniform';
import type { Warning } from './Warning';
export type Response = {
attributes?: Record<string, any>;
cacheDirectives?: Array<CacheDirective>;
date?: string;
entity?: Representation;
onError?: Uniform;
onSent?: Uniform;
recipientsInfo?: Array<RecipientInfo>;
warnings?: Array<Warning>;
accessControlAllowCredentials?: boolean;
accessControlAllowHeaders?: Array<string>;
accessControlAllowMethods?: Array<Method>;
accessControlAllowOrigin?: string;
accessControlExposeHeaders?: Array<string>;
accessControlMaxAge?: number;
age?: number;
allowedMethods?: Array<Method>;
authenticationInfo?: AuthenticationInfo;
autoCommitting?: boolean;
challengeRequests?: Array<ChallengeRequest>;
committed?: boolean;
cookieSettings?: Array<CookieSetting>;
dimensions?: Array<'AUTHORIZATION' | 'CHARACTER_SET' | 'CLIENT_ADDRESS' | 'CLIENT_AGENT' | 'UNSPECIFIED' | 'ENCODING' | 'LANGUAGE' | 'MEDIA_TYPE' | 'TIME' | 'ORIGIN'>;
locationRef?: Reference;
proxyChallengeRequests?: Array<ChallengeRequest>;
request?: Request;
retryAfter?: string;
serverInfo?: ServerInfo;
status?: Status;
provisional?: boolean;
confidential?: boolean;
final?: boolean;
headers?: Array<Header>;
entityAsText?: string;
entityAvailable?: boolean;
};
//# sourceMappingURL=Response.d.ts.map