Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
47 lines
1.3 KiB
Text
47 lines
1.3 KiB
Text
import { NormalizedSchema, TypeRegistry } from "@smithy/core/schema";
|
|
import { ServiceException as SDKBaseServiceException } from "@smithy/smithy-client";
|
|
import {
|
|
HttpResponse as IHttpResponse,
|
|
MetadataBearer,
|
|
ResponseMetadata,
|
|
StaticErrorSchema,
|
|
} from "@smithy/types";
|
|
type ErrorMetadataBearer = MetadataBearer & {
|
|
$fault: "client" | "server";
|
|
};
|
|
export declare class ProtocolLib {
|
|
private queryCompat;
|
|
constructor(queryCompat?: boolean);
|
|
resolveRestContentType(
|
|
defaultContentType: string,
|
|
inputSchema: NormalizedSchema
|
|
): string | undefined;
|
|
getErrorSchemaOrThrowBaseException(
|
|
errorIdentifier: string,
|
|
defaultNamespace: string,
|
|
response: IHttpResponse,
|
|
dataObject: any,
|
|
metadata: ResponseMetadata,
|
|
getErrorSchema?: (
|
|
registry: TypeRegistry,
|
|
errorName: string
|
|
) => StaticErrorSchema
|
|
): Promise<{
|
|
errorSchema: StaticErrorSchema;
|
|
errorMetadata: ErrorMetadataBearer;
|
|
}>;
|
|
decorateServiceException<E extends SDKBaseServiceException>(
|
|
exception: E,
|
|
additions?: Record<string, any>
|
|
): E;
|
|
setQueryCompatError(
|
|
output: Record<string, any>,
|
|
response: IHttpResponse
|
|
): void;
|
|
queryCompatOutput(queryCompatErrorData: any, errorData: any): void;
|
|
findQueryCompatibleError(
|
|
registry: TypeRegistry,
|
|
errorName: string
|
|
): StaticErrorSchema;
|
|
}
|
|
export {};
|