UNPKG

@shopify/shopify-api

Version:

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

125 lines 3.97 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; } interface AllArgs { [key: string]: unknown; session: Session; order_id?: number | string | null; } interface CancelArgs { [key: string]: unknown; body?: { [key: string]: unknown; } | null; } interface CloseArgs { [key: string]: unknown; message?: unknown; body?: { [key: string]: unknown; } | null; } interface HoldArgs { [key: string]: unknown; fulfillment_hold?: unknown; body?: { [key: string]: unknown; } | null; } interface MoveArgs { [key: string]: unknown; fulfillment_order?: unknown; body?: { [key: string]: unknown; } | null; } interface OpenArgs { [key: string]: unknown; body?: { [key: string]: unknown; } | null; } interface ReleaseHoldArgs { [key: string]: unknown; body?: { [key: string]: unknown; } | null; } interface RescheduleArgs { [key: string]: unknown; new_fulfill_at?: unknown; body?: { [key: string]: unknown; } | null; } interface SetFulfillmentOrdersDeadlineArgs { [key: string]: unknown; fulfillment_order_ids?: unknown; fulfillment_deadline?: unknown; body?: { [key: string]: unknown; } | null; } export declare class FulfillmentOrder 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 }: FindArgs): Promise<FulfillmentOrder | null>; static all({ session, order_id, ...otherArgs }: AllArgs): Promise<FindAllResponse<FulfillmentOrder>>; cancel({ body, ...otherArgs }: CancelArgs): Promise<unknown>; close({ message, body, ...otherArgs }: CloseArgs): Promise<unknown>; hold({ fulfillment_hold, body, ...otherArgs }: HoldArgs): Promise<unknown>; move({ fulfillment_order, body, ...otherArgs }: MoveArgs): Promise<unknown>; open({ body, ...otherArgs }: OpenArgs): Promise<unknown>; release_hold({ body, ...otherArgs }: ReleaseHoldArgs): Promise<unknown>; reschedule({ new_fulfill_at, body, ...otherArgs }: RescheduleArgs): Promise<unknown>; set_fulfillment_orders_deadline({ fulfillment_order_ids, fulfillment_deadline, body, ...otherArgs }: SetFulfillmentOrdersDeadlineArgs): Promise<unknown>; assigned_location: { [key: string]: unknown; } | null; assigned_location_id: string | null; created_at: string | null; delivery_method: { [key: string]: unknown; } | null; destination: { [key: string]: unknown; } | null; fulfill_at: string | null; fulfill_by: string | null; fulfillment_holds: { [key: string]: unknown; }[] | null; id: string | null; international_duties: { [key: string]: unknown; } | null; line_items: { [key: string]: unknown; }[] | null; merchant_requests: { [key: string]: unknown; }[] | null; order_id: string | null; request_status: string | null; shop_id: string | null; status: string | null; supported_actions: string[] | null; updated_at: string | null; } export {}; //# sourceMappingURL=fulfillment_order.d.ts.map