UNPKG

orb-billing

Version:

The official TypeScript library for the Orb API

36 lines 1.84 kB
import { APIResource } from "../../resource.js"; import * as Core from "../../core.js"; import * as DimensionalPriceGroupsAPI from "./dimensional-price-groups.js"; export declare class ExternalDimensionalPriceGroupID extends APIResource { /** * Fetch dimensional price group by external ID */ retrieve(externalDimensionalPriceGroupId: string, options?: Core.RequestOptions): Core.APIPromise<DimensionalPriceGroupsAPI.DimensionalPriceGroup>; /** * This endpoint can be used to update the `external_dimensional_price_group_id` * and `metadata` of an existing dimensional price group. Other fields on a * dimensional price group are currently immutable. */ update(externalDimensionalPriceGroupId: string, body: ExternalDimensionalPriceGroupIDUpdateParams, options?: Core.RequestOptions): Core.APIPromise<DimensionalPriceGroupsAPI.DimensionalPriceGroup>; } export interface ExternalDimensionalPriceGroupIDUpdateParams { /** * An optional user-defined ID for this dimensional price group resource, used * throughout the system as an alias for this dimensional price group. Use this * field to identify a dimensional price group by an existing identifier in your * system. */ body_external_dimensional_price_group_id?: string | null; /** * User-specified key/value pairs for the resource. Individual keys can be removed * by setting the value to `null`, and the entire metadata mapping can be cleared * by setting `metadata` to `null`. */ metadata?: { [key: string]: string | null; } | null; } export declare namespace ExternalDimensionalPriceGroupID { export { type ExternalDimensionalPriceGroupIDUpdateParams as ExternalDimensionalPriceGroupIDUpdateParams }; } //# sourceMappingURL=external-dimensional-price-group-id.d.ts.map