/
measurement.ts
66 lines (59 loc) · 1.91 KB
/
measurement.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* tslint:disable */
/* eslint-disable */
/**
* Selling Partner API for Orders
* The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools. The Orders API supports orders that are two years old or less. Orders more than two years old will not show in the API response. _Note:_ The Orders API supports orders from 2016 and after for the JP, AU, and SG marketplaces.
*
* The version of the OpenAPI document: v0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
*
* @export
* @interface Measurement
*/
export interface Measurement {
/**
* The unit of measure for this measurement.
* @type {string}
* @memberof Measurement
*/
'Unit': MeasurementUnitEnum;
/**
* The value of the measurement.
* @type {number}
* @memberof Measurement
*/
'Value': number;
}
export const MeasurementUnitEnum = {
Ounces: 'OUNCES',
Pounds: 'POUNDS',
Kilograms: 'KILOGRAMS',
Grams: 'GRAMS',
Milligrams: 'MILLIGRAMS',
Inches: 'INCHES',
Feet: 'FEET',
Meters: 'METERS',
Centimeters: 'CENTIMETERS',
Millimeters: 'MILLIMETERS',
SquareMeters: 'SQUARE_METERS',
SquareCentimeters: 'SQUARE_CENTIMETERS',
SquareFeet: 'SQUARE_FEET',
SquareInches: 'SQUARE_INCHES',
Gallons: 'GALLONS',
Pints: 'PINTS',
Quarts: 'QUARTS',
FluidOunces: 'FLUID_OUNCES',
Liters: 'LITERS',
CubicMeters: 'CUBIC_METERS',
CubicFeet: 'CUBIC_FEET',
CubicInches: 'CUBIC_INCHES',
CubicCentimeters: 'CUBIC_CENTIMETERS',
Count: 'COUNT'
} as const;
export type MeasurementUnitEnum = typeof MeasurementUnitEnum[keyof typeof MeasurementUnitEnum];