import { MarketplaceCatalog } from '../models/MarketplaceCatalog'; import { MarketplaceCatalogAssignment } from '../models/MarketplaceCatalogAssignment'; import { MarketplacePriceSchedule } from '../models/MarketplacePriceSchedule'; import { MarketplaceProduct } from '../models/MarketplaceProduct'; import { MarketplaceProductAssignment } from '../models/MarketplaceProductAssignment'; import { MarketplaceProductFacet } from '../models/MarketplaceProductFacet'; import { MarketplaceSpec } from '../models/MarketplaceSpec'; import { MarketplaceSpecOption } from '../models/MarketplaceSpecOption'; import { MarketplaceSpecProductAssignment } from '../models/MarketplaceSpecProductAssignment'; import { RequiredDeep } from '../models/RequiredDeep'; export default class OrchestrationProducts { private impersonating; /** * @ignore * not part of public api, don't include in generated docs */ constructor(); /** * @param clientId Client id of the marketplace catalog. * @param marketplaceCatalog Required fields: Name * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ PostCatalog(clientId: string, marketplaceCatalog: MarketplaceCatalog, accessToken?: string): Promise>; /** * @param clientId Client id of the marketplace catalog assignment. * @param marketplaceCatalogAssignment * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ PostCatalogProductAssignment(clientId: string, marketplaceCatalogAssignment: MarketplaceCatalogAssignment, accessToken?: string): Promise>; /** * @param clientId Client id of the marketplace price schedule. * @param marketplacePriceSchedule Required fields: Name * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ PostPriceSchedule(clientId: string, marketplacePriceSchedule: MarketplacePriceSchedule, accessToken?: string): Promise>; /** * @param clientId Client id of the marketplace product. * @param marketplaceProduct Required fields: Name, QuantityMultiplier * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ PostProduct(clientId: string, marketplaceProduct: MarketplaceProduct, accessToken?: string): Promise>; /** * @param clientId Client id of the marketplace product assignment. * @param marketplaceProductAssignment Required fields: ProductID, BuyerID * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ PostProductAssignment(clientId: string, marketplaceProductAssignment: MarketplaceProductAssignment, accessToken?: string): Promise>; /** * @param clientId Client id of the marketplace product facet. * @param marketplaceProductFacet Required fields: Name, MinCount * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ PostProductFacet(clientId: string, marketplaceProductFacet: MarketplaceProductFacet, accessToken?: string): Promise>; /** * @param clientId Client id of the marketplace spec. * @param marketplaceSpec Required fields: Name * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ PostSpec(clientId: string, marketplaceSpec: MarketplaceSpec, accessToken?: string): Promise>; /** * @param clientId Client id of the marketplace spec option. * @param marketplaceSpecOption Required fields: Value * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ PostSpecOption(clientId: string, marketplaceSpecOption: MarketplaceSpecOption, accessToken?: string): Promise>; /** * @param clientId Client id of the marketplace spec product assignment. * @param marketplaceSpecProductAssignment * @param accessToken Provide an alternative token to the one stored in the sdk instance (useful for impersonation). */ PostSpecProductAssignment(clientId: string, marketplaceSpecProductAssignment: MarketplaceSpecProductAssignment, accessToken?: string): Promise>; /** * @description * enables impersonation by calling the subsequent method with the stored impersonation token * * @example * OrchestrationProducts.As().List() // lists OrchestrationProducts using the impersonated users' token */ As(): this; }