UNPKG

@shopify/shopify-api

Version:

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

46 lines 1.7 kB
/*********************************************************************************************************************** * This file is auto-generated. If you have an issue, please create a GitHub issue. * ***********************************************************************************************************************/ import { Base } from '../../base'; import { ResourcePath, ResourceNames } from '../../types'; import { Session } from '../../../lib/session/session'; import { ApiVersion } from '../../../lib/types'; import { Image } from './image'; interface FindArgs { session: Session; id: number | string; fields?: unknown; } interface ProductsArgs { [key: string]: unknown; session: Session; id: number | string; limit?: unknown; } export declare class Collection 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<Collection | null>; static products({ session, id, limit, ...otherArgs }: ProductsArgs): Promise<unknown>; title: string | null; body_html: string | null; handle: string | null; id: string | null; image: Image | null | { [key: string]: any; }; published_at: string | null; published_scope: string | null; sort_order: string | null; template_suffix: string | null; updated_at: string | null; } export {}; //# sourceMappingURL=collection.d.ts.map