@apideck/node
Version:
Apideck Node.js SDK
112 lines (111 loc) • 2.74 kB
TypeScript
/**
* Apideck
* The Apideck OpenAPI Spec: SDK Optimized
*
* The version of the OpenAPI document: 10.13.0
* Contact: support@apideck.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { Address } from './Address';
import { Currency } from './Currency';
import { PassThroughBody } from './PassThroughBody';
/**
*
* @export
* @interface Location
*/
export interface Location {
/**
* A unique identifier for an object.
* @type {string}
* @memberof Location
*/
readonly id?: string;
/**
* The name of the location
* @type {string}
* @memberof Location
*/
name?: string | null;
/**
* The business name of the location
* @type {string}
* @memberof Location
*/
business_name?: string | null;
/**
*
* @type {Address}
* @memberof Location
*/
address?: Address;
/**
* Status of this location.
* @type {string}
* @memberof Location
*/
status?: LocationStatus;
/**
*
* @type {string}
* @memberof Location
*/
merchant_id?: string;
/**
*
* @type {Currency}
* @memberof Location
*/
currency?: Currency | null;
/**
* When custom mappings are configured on the resource, the result is included here.
* @type {object}
* @memberof Location
*/
readonly custom_mappings?: object | null;
/**
* The user who last updated the object.
* @type {string}
* @memberof Location
*/
readonly updated_by?: string | null;
/**
* The user who created the object.
* @type {string}
* @memberof Location
*/
readonly created_by?: string | null;
/**
* The date and time when the object was last updated.
* @type {Date}
* @memberof Location
*/
readonly updated_at?: Date | null;
/**
* The date and time when the object was created.
* @type {Date}
* @memberof Location
*/
readonly created_at?: Date | null;
/**
*
* @type {PassThroughBody}
* @memberof Location
*/
pass_through?: PassThroughBody;
}
/**
* @export
* @enum {string}
*/
export declare enum LocationStatus {
active = "active",
inactive = "inactive",
other = "other"
}
export declare function LocationFromJSON(json: any): Location;
export declare function LocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Location;
export declare function LocationToJSON(value?: Location | null): any;