UNPKG

@shopify/shopify-api

Version:

Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks

60 lines 2.14 kB
/*********************************************************************************************************************** * This file is auto-generated. If you have an issue, please create a GitHub issue. * ***********************************************************************************************************************/ import { Base, FindAllResponse } from '../../base'; import { ResourcePath, ResourceNames } from '../../types'; import { Session } from '../../../lib/session/session'; import { ApiVersion } from '../../../lib/types'; import { Metafield } from './metafield'; interface FindArgs { session: Session; id: number | string; fields?: unknown; } interface DeleteArgs { session: Session; id: number | string; } interface AllArgs { [key: string]: unknown; session: Session; limit?: unknown; since_id?: unknown; handle?: unknown; fields?: unknown; } interface CountArgs { [key: string]: unknown; session: Session; } export declare class Blog extends Base { static apiVersion: ApiVersion; protected static hasOne: { [key: string]: typeof Base; }; protected static hasMany: { [key: string]: typeof Base; }; protected static paths: ResourcePath[]; protected static resourceNames: ResourceNames[]; static find({ session, id, fields }: FindArgs): Promise<Blog | null>; static delete({ session, id }: DeleteArgs): Promise<unknown>; static all({ session, limit, since_id, handle, fields, ...otherArgs }: AllArgs): Promise<FindAllResponse<Blog>>; static count({ session, ...otherArgs }: CountArgs): Promise<unknown>; admin_graphql_api_id: string | null; commentable: string | null; created_at: string | null; feedburner: string | null; feedburner_location: string | null; handle: string | null; id: string | null; metafields: Metafield[] | null | { [key: string]: any; }; tags: string | null; template_suffix: string | null; title: string | null; updated_at: string | null; } export {}; //# sourceMappingURL=blog.d.ts.map