@shopify/shopify-api
Version:
Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks
129 lines • 4.27 kB
TypeScript
/***********************************************************************************************************************
* 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;
include_financial_summaries?: unknown;
include_order_reference_fields?: unknown;
}
interface AllArgs {
[]: unknown;
session: Session;
order_id?: number | string | null;
include_financial_summaries?: unknown;
include_order_reference_fields?: unknown;
}
interface CancelArgs {
[]: unknown;
body?: {
[]: unknown;
} | null;
}
interface CloseArgs {
[]: unknown;
message?: unknown;
body?: {
[]: unknown;
} | null;
}
interface HoldArgs {
[]: unknown;
fulfillment_hold?: unknown;
body?: {
[]: unknown;
} | null;
}
interface MoveArgs {
[]: unknown;
fulfillment_order?: unknown;
body?: {
[]: unknown;
} | null;
}
interface OpenArgs {
[]: unknown;
body?: {
[]: unknown;
} | null;
}
interface ReleaseHoldArgs {
[]: unknown;
body?: {
[]: unknown;
} | null;
}
interface RescheduleArgs {
[]: unknown;
new_fulfill_at?: unknown;
body?: {
[]: unknown;
} | null;
}
interface SetFulfillmentOrdersDeadlineArgs {
[]: unknown;
fulfillment_order_ids?: unknown;
fulfillment_deadline?: unknown;
body?: {
[]: unknown;
} | null;
}
export declare class FulfillmentOrder extends Base {
static apiVersion: ApiVersion;
protected static hasOne: {
[]: typeof Base;
};
protected static hasMany: {
[]: typeof Base;
};
protected static paths: ResourcePath[];
protected static resourceNames: ResourceNames[];
static find({ session, id, include_financial_summaries, include_order_reference_fields }: FindArgs): Promise<FulfillmentOrder | null>;
static all({ session, order_id, include_financial_summaries, include_order_reference_fields, ...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: {
[]: unknown;
} | null;
assigned_location_id: string | null;
created_at: string | null;
delivery_method: {
[]: unknown;
} | null;
destination: {
[]: unknown;
} | null;
fulfill_at: string | null;
fulfill_by: string | null;
fulfillment_holds: {
[]: unknown;
}[] | null;
id: string | null;
international_duties: {
[]: unknown;
} | null;
line_items: {
[]: unknown;
}[] | null;
merchant_requests: {
[]: 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