UNPKG

@shopify/shopify-api

Version:

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

49 lines 1.89 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'; interface FindArgs { session: Session; id: number | string; order_id?: number | string | null; } interface DeleteArgs { session: Session; id: number | string; order_id?: number | string | null; } interface AllArgs { [key: string]: unknown; session: Session; order_id?: number | string | null; } export declare class OrderRisk 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[]; protected static getJsonBodyName(): string; static find({ session, id, order_id }: FindArgs): Promise<OrderRisk | null>; static delete({ session, id, order_id }: DeleteArgs): Promise<unknown>; static all({ session, order_id, ...otherArgs }: AllArgs): Promise<FindAllResponse<OrderRisk>>; cause_cancel: boolean | null; checkout_id: string | null; display: boolean | null; id: string | null; merchant_message: string | null; message: string | null; order_id: string | null; recommendation: string | null; score: string | null; source: string | null; } export {}; //# sourceMappingURL=order_risk.d.ts.map