import type * as _Core from "@osdk/foundry.core"; import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client"; import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2"; import type * as _Ontologies from "../_components.js"; /** * Lists the object types for the given Ontology. * * Each page may be smaller or larger than the requested page size. However, it is guaranteed that if there are * more results available, at least one result will be present in the * response. * * @public * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/objectTypes */ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, $queryParams?: { branch?: _Core.FoundryBranch | undefined; pageSize?: _Core.PageSize | undefined; pageToken?: _Core.PageToken | undefined; } ]): Promise<_Ontologies.ListObjectTypesV2Response>; /** * Gets a specific object type with the given API name. * * @public * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/objectTypes/{objectType} */ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, objectType: _Ontologies.ObjectTypeApiName, $queryParams?: { branch?: _Core.FoundryBranch | undefined; } ]): Promise<_Ontologies.ObjectTypeV2>; /** * Gets a list of object types by RID in bulk. * * Object types are filtered from the response if they don't exist or the requesting token lacks the required * permissions. * * The maximum batch size for this endpoint is 100. * * @beta * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/objectTypes/getByRidBatch */ export declare function getByRidBatch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, $body: _Ontologies.GetObjectTypeByRidBatchRequest, $queryParams?: { branch?: _Core.FoundryBranch | undefined; } ]): Promise<_Ontologies.GetObjectTypeByRidBatchResponse>; /** * Gets the full metadata for a specific object type with the given API name. * * @beta * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/fullMetadata */ export declare function getFullMetadata($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, objectType: _Ontologies.ObjectTypeApiName, $queryParams?: { preview?: _Core.PreviewMode | undefined; sdkPackageRid?: _Ontologies.SdkPackageRid | undefined; sdkVersion?: _Ontologies.SdkVersion | undefined; branch?: _Core.FoundryBranch | undefined; } ]): Promise<_Ontologies.ObjectTypeFullMetadata>; /** * Returns the history of edits (additions, modifications, deletions) for objects of a * specific object type. This endpoint provides visibility into all actions that have * modified objects of this type. * * The edits are returned in reverse chronological order (most recent first) by default. * * Note that filters are ignored for OSv1 object types. * * @beta * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/editsHistory */ export declare function getEditsHistory($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, objectType: _Ontologies.ObjectTypeApiName, $body: _Ontologies.ObjectTypeEditsHistoryRequest, $queryParams?: { branch?: _Core.FoundryBranch | undefined; } ]): Promise<_Ontologies.ObjectTypeEditsHistoryResponse>; /** * List the outgoing links for an object type. * * @public * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes */ export declare function listOutgoingLinkTypes($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, objectType: _Ontologies.ObjectTypeApiName, $queryParams?: { branch?: _Core.FoundryBranch | undefined; pageSize?: _Core.PageSize | undefined; pageToken?: _Core.PageToken | undefined; } ]): Promise<_Ontologies.ListOutgoingLinkTypesResponseV2>; /** * Get an outgoing link for an object type. * * @public * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/objectTypes/{objectType}/outgoingLinkTypes/{linkType} */ export declare function getOutgoingLinkType($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, objectType: _Ontologies.ObjectTypeApiName, linkType: _Ontologies.LinkTypeApiName, $queryParams?: { branch?: _Core.FoundryBranch | undefined; } ]): Promise<_Ontologies.LinkTypeSideV2>; /** * Gets outgoing link types for a batch of object types, identified by their RIDs. * * For each requested object type, returns the list of outgoing link types visible to the * requesting token. Optionally, results can be filtered to only include specific link type RIDs. * * Object types that don't exist or that the requesting token lacks permissions for are * silently omitted from the response. * * The maximum batch size for this endpoint is 100. * * @beta * * Required Scopes: [api:ontologies-read] * URL: /v2/ontologies/{ontology}/outgoingLinkTypes/getByRidBatch */ export declare function getOutgoingLinkTypesByObjectTypeRidBatch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [ ontology: _Ontologies.OntologyIdentifier, $body: _Ontologies.GetOutgoingLinkTypesByObjectTypeRidBatchRequest, $queryParams?: { branch?: _Core.FoundryBranch | undefined; } ]): Promise<_Ontologies.GetOutgoingLinkTypesByObjectTypeRidBatchResponse>; //# sourceMappingURL=ObjectTypeV2.d.ts.map