UNPKG

@pfantato/printful-ts

Version:

Typescript SDK to integrate with Printful

38 lines (37 loc) 994 B
import type { Options } from 'ky'; import { ListCountriesSearchParams } from '@printful-ts/schemas'; import { PrintfulApiService } from './printful-api.service'; export declare class CountriesService extends PrintfulApiService { listCountries(params?: ListCountriesSearchParams, options?: Options): Promise<{ _links?: { self?: { href?: string; }; first?: { href?: string; }; last?: { href?: string; }; next?: { href?: string; }; previous?: { href?: string; }; }; data?: { code?: string; name?: string; states?: { code?: string; name?: string; }[]; }[]; paging?: { total?: number; offset?: number; limit?: number; }; }>; }