package domain
- Alphabetic
- By Inheritance
- domain
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type ActiveContract[+CtTyId, +LfV] = fetchcontracts.domain.ActiveContract[CtTyId, LfV]
- final case class AllocatePartyRequest(identifierHint: Option[Party], displayName: Option[String]) extends Product with Serializable
- type ApplicationId = @@[String, ledger.api.refinements.ApiTypes.ApplicationIdTag]
- type ApplicationIdTag = ledger.api.refinements.ApiTypes.ApplicationIdTag
- case class ArchivedContract(contractId: ContractId, templateId: ContractTypeId.RequiredPkg) extends Product with Serializable
- final case class AsyncWarningsWrapper(warnings: ServiceWarning) extends Product with Serializable
- type Base16 = @@[ByteString, Base16Tag]
- sealed trait Base16Tag extends AnyRef
- type Base64 = @@[ByteString, Base64Tag]
- sealed trait Base64Tag extends AnyRef
- final case class CanActAs(party: Party) extends UserRight with Product with Serializable
- final case class CanReadAs(party: Party) extends UserRight with Product with Serializable
- type Choice = @@[String, ChoiceTag]
- type CommandId = @@[String, ledger.api.refinements.ApiTypes.CommandIdTag]
- type CommandIdTag = ledger.api.refinements.ApiTypes.CommandIdTag
- final case class CommandMeta[+TmplId](commandId: Option[CommandId], actAs: Option[NonEmptyList[Party]], readAs: Option[List[Party]], submissionId: Option[SubmissionId], workflowId: Option[WorkflowId], deduplicationPeriod: Option[DeduplicationPeriod], disclosedContracts: Option[List[DisclosedContract[TmplId]]]) extends Product with Serializable
- TmplId
disclosed contracts' template ID
- type CompletionOffset = @@[String, CompletionOffsetTag]
- sealed trait CompletionOffsetTag extends AnyRef
- case class Contract[LfV](value: \/[ArchivedContract, ResolvedCtTyId[LfV]]) extends Product with Serializable
- type ContractId = @@[String, ContractIdTag]
- final case class ContractKeyStreamRequest[+Cid, +LfV](contractIdAtOffset: Cid, ekey: EnrichedContractKey[LfV]) extends Product with Serializable
- sealed abstract class ContractLocator[+LfV] extends Product with Serializable
- sealed abstract class ContractTypeId[+PkgId] extends Product3[PkgId, String, String] with Serializable with Ops[ContractTypeId, PkgId]
A contract type ID that may be either a template or an interface ID.
A contract type ID that may be either a template or an interface ID. A ContractTypeId.Resolved ID will always be either ContractTypeId.Template or ContractTypeId.Interface; an unresolved ID may be one of those, which indicates an expectation of what the resolved ID will be, or neither, which indicates that resolving what kind of ID this is will be part of the resolution.
Built-in equality is solely determined by the triple of package ID, module name, entity name. This is because there are likely insidious expectations that this be true dating to before contract type IDs were distinguished at all, and we are only interested in distinguishing them statically, which these types do, and by pattern-matching, which does work.
val selector: ContractTypeId[Unit] = Template((), "M", "E") selector match { case ContractTypeId.Unknown(p, m, e) => // this will not match case ContractTypeId.Interface(p, m, e) => // this will not match case ContractTypeId.Template(p, m, e) => // this will match }
- sealed abstract class ContractTypeIdLike[CtId[T] <: ContractTypeId[T]] extends AnyRef
A contract type ID companion.
- final case class CreateAndExerciseCommand[+Payload, +Arg, +TmplId, +IfceId](templateId: TmplId, payload: Payload, choice: Choice, argument: Arg, choiceInterfaceId: Option[IfceId], meta: Option[CommandMeta[TmplId]]) extends Product with Serializable
- final case class CreateCommand[+LfV, +TmplId](templateId: TmplId, payload: LfV, meta: Option[NoDisclosed]) extends Product with Serializable
- final case class CreateCommandResponse[+LfV](contractId: ContractId, templateId: ContractTypeId.Template.RequiredPkg, key: Option[LfV], payload: LfV, signatories: Seq[Party], observers: Seq[Party], agreementText: String, completionOffset: CompletionOffset) extends Product with Serializable
- final case class CreateUserRequest(userId: String, primaryParty: Option[String], rights: Option[List[UserRight]]) extends Product with Serializable
- sealed abstract class DeduplicationPeriod extends Product with Serializable
- final case class DeleteUserRequest(userId: String) extends Product with Serializable
- final case class DisclosedContract[+TmplId](contractId: ContractId, templateId: TmplId, createdEventBlob: Base64) extends Product with Serializable
- final case class EnrichedContractId(templateId: Option[ContractTypeId.OptionalPkg], contractId: ContractId) extends ContractLocator[Nothing] with Product with Serializable
- final case class EnrichedContractKey[+LfV](templateId: ContractTypeId.Template.OptionalPkg, key: LfV) extends ContractLocator[LfV] with Product with Serializable
- type Error = fetchcontracts.domain.Error
- sealed trait ErrorDetail extends Product with Serializable
- final case class ErrorInfoDetail(errorCodeId: String, metadata: Map[String, String]) extends ErrorDetail with Product with Serializable
- final case class ErrorResponse(errors: List[String], warnings: Option[ServiceWarning], status: StatusCode, ledgerApiError: Option[LedgerApiError] = None) extends SyncResponse[Nothing] with Product with Serializable
- final case class ExerciseCommand[+PkgId, +LfV, +Ref](reference: Ref, choice: Choice, argument: LfV, choiceInterfaceId: Option[ContractTypeId[PkgId]], meta: Option[CommandMeta[Template[PkgId]]]) extends Product with Serializable
- final case class ExerciseResponse[LfV](exerciseResult: LfV, events: List[Contract[LfV]], completionOffset: CompletionOffset) extends Product with Serializable
- final case class FetchRequest[+LfV](locator: ContractLocator[LfV], readAs: Option[NonEmptyList[Party]]) extends Product with Serializable
- final case class GetActiveContractsRequest(templateIds: NonEmpty[Set[ContractTypeId.OptionalPkg]], readAs: Option[NonEmptyList[Party]]) extends Product with Serializable
- final case class GetUserRequest(userId: String) extends Product with Serializable
- final case class GrantUserRightsRequest(userId: String, rights: List[UserRight]) extends Product with Serializable
- trait HasTemplateId[-F[_]] extends AnyRef
- type InputContractRef[LfV] = \/[(domain.ContractTypeId.Template.OptionalPkg, LfV), (Option[domain.ContractTypeId.OptionalPkg], ContractId)]
- sealed abstract case class JwtPayload extends JwtPayloadG with Product with Serializable
- trait JwtPayloadG extends AnyRef
- final case class JwtPayloadLedgerIdOnly(ledgerId: LedgerId) extends Product with Serializable
- trait JwtPayloadTag extends AnyRef
- final case class JwtWritePayload(ledgerId: LedgerId, applicationId: ApplicationId, submitter: NonEmptyList[Party], readAs: List[Party]) extends JwtPayloadG with Product with Serializable
- final case class LedgerApiError(code: Int, message: String, details: Seq[ErrorDetail]) extends Product with Serializable
- type LedgerId = @@[String, ledger.api.refinements.ApiTypes.LedgerIdTag]
- type LedgerIdTag = ledger.api.refinements.ApiTypes.LedgerIdTag
- type LfType = Type
- type LfValue = Value
- final case class ListUserRightsRequest(userId: String) extends Product with Serializable
- type Offset = @@[String, OffsetTag]
- final case class OkResponse[+R](result: R, warnings: Option[ServiceWarning] = None, status: StatusCode = StatusCodes.OK) extends SyncResponse[R] with Product with Serializable
- type Party = @@[String, PartyTag]
- final case class PartyDetails(identifier: Party, displayName: Option[String], isLocal: Boolean) extends Product with Serializable
- type PartySet = NonEmpty[Set[fetchcontracts.domain.Party]]
- final case class PbAny(typeUrl: String, value: Base64) extends Product with Serializable
- final case class RequestInfoDetail(correlationId: String) extends ErrorDetail with Product with Serializable
- type ResolvedContractRef[LfV] = \/[(domain.ContractTypeId.Template.RequiredPkg, LfV), (domain.ContractTypeId.RequiredPkg, ContractId)]
- sealed abstract class ResolvedQuery extends Product with Serializable
- final case class ResourceInfoDetail(name: String, typ: String) extends ErrorDetail with Product with Serializable
- final case class RetryInfoDetail(duration: RetryInfoDetailDuration) extends ErrorDetail with Product with Serializable
- type RetryInfoDetailDuration = @@[Duration, RetryInfoDetailDurationTag]
- sealed trait RetryInfoDetailDurationTag extends AnyRef
- final case class RevokeUserRightsRequest(userId: String, rights: List[UserRight]) extends Product with Serializable
- final case class SearchForeverQuery(templateIds: NonEmpty[Set[ContractTypeId.OptionalPkg]], offset: Option[Offset]) extends Product with Serializable
- final case class SearchForeverRequest(queriesWithPos: NonEmptyList[(SearchForeverQuery, Int)]) extends Product with Serializable
- sealed abstract class ServiceWarning extends Serializable with Product
- final case class StartingOffset(offset: Offset) extends Product with Serializable
- type SubmissionId = @@[String, SubmissionIdTag]
- sealed trait SubmissionIdTag extends AnyRef
- sealed abstract class SyncResponse[+R] extends Product with Serializable
- final case class UnknownParties(unknownParties: List[Party]) extends ServiceWarning with Product with Serializable
- final case class UnknownTemplateIds(unknownTemplateIds: List[ContractTypeId.OptionalPkg]) extends ServiceWarning with Product with Serializable
- final case class UserDetails(userId: String, primaryParty: Option[String]) extends Product with Serializable
- sealed abstract class UserRight extends Product with Serializable
- type WorkflowId = @@[String, WorkflowIdTag]
- type WorkflowIdTag = ledger.api.refinements.ApiTypes.WorkflowIdTag
Value Members
- final val ActiveContract: fetchcontracts.domain.ActiveContract.type
- val ApplicationId: TagOf[ledger.api.refinements.ApiTypes.ApplicationIdTag]
- val Base16: TagOf[Base16Tag]
- val Base64: TagOf[Base64Tag]
- val Choice: TagOf[ChoiceTag]
- val CommandId: TagOf[ledger.api.refinements.ApiTypes.CommandIdTag]
- val CompletionOffset: TagOf[CompletionOffsetTag]
- final val ContractId: TagOf[ContractIdTag]
- final val Error: fetchcontracts.domain.Error.type
- val LedgerId: TagOf[ledger.api.refinements.ApiTypes.LedgerIdTag]
- final val Offset: fetchcontracts.domain.Offset.type
- final val Party: TagOf[PartyTag]
- val RetryInfoDetailDuration: TagOf[RetryInfoDetailDurationTag]
- val SubmissionId: TagOf[SubmissionIdTag]
- val WorkflowId: TagOf[WorkflowIdTag]
- object ActiveContractExtras
- object ArchivedContract extends Serializable
- object CommandMeta extends Serializable
- object Contract extends Serializable
- object ContractKeyStreamRequest extends Serializable
- object ContractLocator extends Serializable
- object ContractTypeId extends ContractTypeIdLike[ContractTypeId] with Serializable
- object CreateAndExerciseCommand extends Serializable
- object CreateCommand extends Serializable
- object CreateCommandResponse extends Serializable
- object DeduplicationPeriod extends Serializable
- object DisclosedContract extends Serializable
- object EnrichedContractKey extends Serializable
- object ErrorDetail extends Serializable
- object ExerciseCommand extends Serializable
- object ExerciseResponse extends Serializable
- object HasTemplateId
- case object IdentityProviderAdmin extends UserRight with Product with Serializable
- object JwtPayload extends Serializable
- object OkResponse extends Serializable
- case object ParticipantAdmin extends UserRight with Product with Serializable
- object PartyDetails extends Serializable
- object ResolvedQuery extends Serializable
- object SyncResponse extends Serializable
- object UserDetails extends Serializable
- object UserRights