@shopify/shopify-api
Version:
Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks
66 lines • 2.49 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';
import { Country } from './country';
import { Province } from './province';
interface FindArgs {
session: Session;
id: number | string;
order_id?: number | string | null;
fulfillment_id?: number | string | null;
event_id?: unknown;
}
interface DeleteArgs {
session: Session;
id: number | string;
order_id?: number | string | null;
fulfillment_id?: number | string | null;
}
interface AllArgs {
[key: string]: unknown;
session: Session;
order_id?: number | string | null;
fulfillment_id?: number | string | null;
}
export declare class FulfillmentEvent 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, fulfillment_id, event_id }: FindArgs): Promise<FulfillmentEvent | null>;
static delete({ session, id, order_id, fulfillment_id }: DeleteArgs): Promise<unknown>;
static all({ session, order_id, fulfillment_id, ...otherArgs }: AllArgs): Promise<FindAllResponse<FulfillmentEvent>>;
address1: string | null;
city: string | null;
country: Country | null | {
[key: string]: any;
};
created_at: string | null;
estimated_delivery_at: string | null;
fulfillment_id: string | null;
happened_at: string | null;
id: string | null;
latitude: number | null;
longitude: number | null;
message: string | null;
order_id: string | null;
province: Province | null | {
[key: string]: any;
};
shop_id: string | null;
status: string | null;
updated_at: string | null;
zip: string | null;
}
export {};
//# sourceMappingURL=fulfillment_event.d.ts.map