/** * Selling Partner API for Tokens * The Selling Partner API for Tokens provides a secure way to access a customer's PII (Personally Identifiable Information). You can call the Tokens API to get a Restricted Data Token (RDT) for one or more restricted resources that you specify. The RDT authorizes subsequent calls to restricted operations that correspond to the restricted resources that you specified. For more information, see the [Tokens API Use Case Guide](doc:tokens-api-use-case-guide). * * The version of the OpenAPI document: 2021-03-01 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. * */ /** * The RestrictedResource model module. * @module tokens_v2021_03_01/model/RestrictedResource * @version 2021-03-01 */ export declare class RestrictedResource { method: string; path: string; /** * Constructs a new RestrictedResource. * Model of a restricted resource. * @alias module:tokens_v2021_03_01/model/RestrictedResource * @class * @param method {String} The HTTP method in the restricted resource. * @param path {String} The path in the restricted resource. Here are some path examples: - ```/orders/v0/orders```. For getting an RDT for the getOrders operation of the Orders API. For bulk orders. - ```/orders/v0/orders/123-1234567-1234567```. For getting an RDT for the getOrder operation of the Orders API. For a specific order. - ```/orders/v0/orders/123-1234567-1234567/orderItems```. For getting an RDT for the getOrderItems operation of the Orders API. For the order items in a specific order. - ```/mfn/v0/shipments/FBA1234ABC5D```. For getting an RDT for the getShipment operation of the Shipping API. For a specific shipment. - ```/mfn/v0/shipments/{shipmentId}```. For getting an RDT for the getShipment operation of the Shipping API. For any of a selling partner's shipments that you specify when you call the getShipment operation. */ constructor(method: string, path: string); /** * Constructs a RestrictedResource from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from data to obj if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {RestrictedResource} obj Optional instance to populate. * @return {RestrictedResource} The populated RestrictedResource instance. */ static constructFromObject(data: Object, obj: RestrictedResource): RestrictedResource; } export declare namespace RestrictedResource { var MethodEnum: { /** * value: "GET" * @const */ GET: string; /** * value: "PUT" * @const */ PUT: string; /** * value: "POST" * @const */ POST: string; /** * value: "DELETE" * @const */ DELETE: string; }; } //# sourceMappingURL=RestrictedResource.d.ts.map