@datenkraft/bb-fulfillment-api-ts-client
Version:
The fulfillment API TS Client enables you to work with the fulfillment API
75 lines (74 loc) • 2.91 kB
TypeScript
/**
* Fulfillment API
* - alpha: Currently developed API version. Subject to major changes. - beta: A semi-stable early access version. New features can be added. Breaking changes are possible. - stable: The API is recommended for use in production. [Changelog](https://fulfillment-api.steve.niceshops.com/v2/docs/changelog.html) All data is transferred in UTF-8 encoding.\\ The API uses stateless HTTP. No cookies have to be kept.\\ Authentication via OAuth2 client credentials flow. [Privacy Policy](https://www.niceshops.com/en/dienstleistungen/data-privacy-policy) [Fulfillment API PHP client @Packagist](https://packagist.org/packages/datenkraft/bb-fulfillment-api-php-client)
*
* The version of the OpenAPI document: v2.beta
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { ReservedFor } from './reserved-for';
/**
* Stock of a product
* @export
* @interface Stock
*/
export interface Stock {
/**
* Product number
* @type {string}
* @memberof Stock
*/
'productNumber'?: string;
/**
* Amount stocked in the warehouse - the reserved amount for ongoing orders is NOT subtracted
* @type {number}
* @memberof Stock
*/
'stocked'?: number;
/**
* Amount reserved for ongoing orders
* @type {number}
* @memberof Stock
*/
'reserved'?: number;
/**
* Amount available for orders - the reserved amount for ongoing orders is subtracted - if the overbookingPossibilityStatus is \'only_inbound_deliveries\', the incoming amount is added
* @type {number}
* @memberof Stock
*/
'available'?: number;
/**
* Amount of ongoing inbound deliveries
* @type {number}
* @memberof Stock
*/
'incoming'?: number;
/**
* Amount processed in the receiving area but not yet shelved
* @type {number}
* @memberof Stock
*/
'locked'?: number;
/**
* Status regarding the possibility of overbooking - possible: Overbooking is possible - not_possible: Overbooking is not possible - only_inbound_deliveries: Overbooking is only possible for the amount in ongoing inbound deliveries
* @type {string}
* @memberof Stock
*/
'overbookingPossibilityStatus'?: StockOverbookingPossibilityStatusEnum;
/**
*
* @type {ReservedFor}
* @memberof Stock
*/
'reservedFor'?: ReservedFor;
}
export declare const StockOverbookingPossibilityStatusEnum: {
readonly Possible: "possible";
readonly NotPossible: "not_possible";
readonly OnlyInboundDeliveries: "only_inbound_deliveries";
readonly UnknownDefaultOpenApi: "11184809";
};
export type StockOverbookingPossibilityStatusEnum = typeof StockOverbookingPossibilityStatusEnum[keyof typeof StockOverbookingPossibilityStatusEnum];