package domain

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. domain
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type ActiveContract[+CtTyId, +LfV] = fetchcontracts.domain.ActiveContract[CtTyId, LfV]
  2. final case class AllocatePartyRequest(identifierHint: Option[Party], displayName: Option[String]) extends Product with Serializable
  3. type ApplicationId = @@[String, ledger.api.refinements.ApiTypes.ApplicationIdTag]
  4. type ApplicationIdTag = ledger.api.refinements.ApiTypes.ApplicationIdTag
  5. case class ArchivedContract(contractId: ContractId, templateId: ContractTypeId.RequiredPkg) extends Product with Serializable
  6. final case class AsyncWarningsWrapper(warnings: ServiceWarning) extends Product with Serializable
  7. type Base16 = @@[ByteString, Base16Tag]
  8. sealed trait Base16Tag extends AnyRef
  9. type Base64 = @@[ByteString, Base64Tag]
  10. sealed trait Base64Tag extends AnyRef
  11. final case class CanActAs(party: Party) extends UserRight with Product with Serializable
  12. final case class CanReadAs(party: Party) extends UserRight with Product with Serializable
  13. type Choice = @@[String, ChoiceTag]
  14. type CommandId = @@[String, ledger.api.refinements.ApiTypes.CommandIdTag]
  15. type CommandIdTag = ledger.api.refinements.ApiTypes.CommandIdTag
  16. final case class CommandMeta[+TmplId, +LfV](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, LfV]]]) extends Product with Serializable

    TmplId

    disclosed contracts' template ID

    LfV

    disclosed contracts' payload encoding

  17. type CompletionOffset = @@[String, CompletionOffsetTag]
  18. sealed trait CompletionOffsetTag extends AnyRef
  19. case class Contract[LfV](value: \/[ArchivedContract, ResolvedCtTyId[LfV]]) extends Product with Serializable
  20. type ContractId = @@[String, ContractIdTag]
  21. final case class ContractKeyStreamRequest[+Cid, +LfV](contractIdAtOffset: Cid, ekey: EnrichedContractKey[LfV]) extends Product with Serializable
  22. sealed abstract class ContractLocator[+LfV] extends Product with Serializable
  23. 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
    }
  24. sealed abstract class ContractTypeIdLike[CtId[T] <: ContractTypeId[T]] extends AnyRef

    A contract type ID companion.

  25. final case class CreateAndExerciseCommand[+Payload, +Arg, +TmplId, +IfceId](templateId: TmplId, payload: Payload, choice: Choice, argument: Arg, choiceInterfaceId: Option[IfceId], meta: Option[CommandMeta[TmplId, Payload]]) extends Product with Serializable
  26. final case class CreateCommand[+LfV, +TmplId](templateId: TmplId, payload: LfV, meta: Option[NoDisclosed]) extends Product with Serializable
  27. 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
  28. final case class CreateUserRequest(userId: String, primaryParty: Option[String], rights: Option[List[UserRight]]) extends Product with Serializable
  29. sealed abstract class DeduplicationPeriod extends Product with Serializable
  30. final case class DeleteUserRequest(userId: String) extends Product with Serializable
  31. final case class DisclosedContract[+TmplId, +LfV](contractId: ContractId, templateId: TmplId, arguments: Arguments[LfV], metadata: Metadata) extends Product with Serializable
  32. final case class EnrichedContractId(templateId: Option[ContractTypeId.OptionalPkg], contractId: ContractId) extends ContractLocator[Nothing] with Product with Serializable
  33. final case class EnrichedContractKey[+LfV](templateId: ContractTypeId.Template.OptionalPkg, key: LfV) extends ContractLocator[LfV] with Product with Serializable
  34. type Error = fetchcontracts.domain.Error
  35. sealed trait ErrorDetail extends Product with Serializable
  36. final case class ErrorInfoDetail(errorCodeId: String, metadata: Map[String, String]) extends ErrorDetail with Product with Serializable
  37. final case class ErrorResponse(errors: List[String], warnings: Option[ServiceWarning], status: StatusCode, ledgerApiError: Option[LedgerApiError] = None) extends SyncResponse[Nothing] with Product with Serializable
  38. final case class ExerciseCommand[+PkgId, +LfV, +Ref](reference: Ref, choice: Choice, argument: LfV, choiceInterfaceId: Option[ContractTypeId[PkgId]], meta: Option[CommandMeta[Template[PkgId], LfV]]) extends Product with Serializable
  39. final case class ExerciseResponse[LfV](exerciseResult: LfV, events: List[Contract[LfV]], completionOffset: CompletionOffset) extends Product with Serializable
  40. final case class FetchRequest[+LfV](locator: ContractLocator[LfV], readAs: Option[NonEmptyList[Party]]) extends Product with Serializable
  41. final case class GetActiveContractsRequest(templateIds: NonEmpty[Set[ContractTypeId.OptionalPkg]], query: Map[String, JsValue], readAs: Option[NonEmptyList[Party]]) extends Product with Serializable
  42. final case class GetUserRequest(userId: String) extends Product with Serializable
  43. final case class GrantUserRightsRequest(userId: String, rights: List[UserRight]) extends Product with Serializable
  44. trait HasTemplateId[-F[_]] extends AnyRef
  45. type InputContractRef[LfV] = \/[(domain.ContractTypeId.Template.OptionalPkg, LfV), (Option[domain.ContractTypeId.OptionalPkg], ContractId)]
  46. sealed abstract case class JwtPayload extends JwtPayloadG with Product with Serializable
  47. trait JwtPayloadG extends AnyRef
  48. final case class JwtPayloadLedgerIdOnly(ledgerId: LedgerId) extends Product with Serializable
  49. trait JwtPayloadTag extends AnyRef
  50. final case class JwtWritePayload(ledgerId: LedgerId, applicationId: ApplicationId, submitter: NonEmptyList[Party], readAs: List[Party]) extends JwtPayloadG with Product with Serializable
  51. final case class LedgerApiError(code: Int, message: String, details: Seq[ErrorDetail]) extends Product with Serializable
  52. type LedgerId = @@[String, ledger.api.refinements.ApiTypes.LedgerIdTag]
  53. type LedgerIdTag = ledger.api.refinements.ApiTypes.LedgerIdTag
  54. type LfType = Type
  55. type LfValue = Value
  56. final case class ListUserRightsRequest(userId: String) extends Product with Serializable
  57. type Offset = @@[String, OffsetTag]
  58. final case class OkResponse[+R](result: R, warnings: Option[ServiceWarning] = None, status: StatusCode = StatusCodes.OK) extends SyncResponse[R] with Product with Serializable
  59. type Party = @@[String, PartyTag]
  60. final case class PartyDetails(identifier: Party, displayName: Option[String], isLocal: Boolean) extends Product with Serializable
  61. type PartySet = NonEmpty[Set[fetchcontracts.domain.Party]]
  62. final case class PbAny(typeUrl: String, value: Base64) extends Product with Serializable
  63. final case class RequestInfoDetail(correlationId: String) extends ErrorDetail with Product with Serializable
  64. type ResolvedContractRef[LfV] = \/[(domain.ContractTypeId.Template.RequiredPkg, LfV), (domain.ContractTypeId.RequiredPkg, ContractId)]
  65. sealed abstract class ResolvedQuery extends Product with Serializable
  66. final case class ResourceInfoDetail(name: String, typ: String) extends ErrorDetail with Product with Serializable
  67. final case class RetryInfoDetail(duration: RetryInfoDetailDuration) extends ErrorDetail with Product with Serializable
  68. type RetryInfoDetailDuration = @@[Duration, RetryInfoDetailDurationTag]
  69. sealed trait RetryInfoDetailDurationTag extends AnyRef
  70. final case class RevokeUserRightsRequest(userId: String, rights: List[UserRight]) extends Product with Serializable
  71. final case class SearchForeverQuery(templateIds: NonEmpty[Set[ContractTypeId.OptionalPkg]], query: Map[String, JsValue], offset: Option[Offset]) extends Product with Serializable
  72. final case class SearchForeverRequest(queriesWithPos: NonEmptyList[(SearchForeverQuery, Int)]) extends Product with Serializable
  73. sealed abstract class ServiceWarning extends Serializable with Product
  74. final case class StartingOffset(offset: Offset) extends Product with Serializable
  75. type SubmissionId = @@[String, SubmissionIdTag]
  76. sealed trait SubmissionIdTag extends AnyRef
  77. sealed abstract class SyncResponse[+R] extends Product with Serializable
  78. final case class UnknownParties(unknownParties: List[Party]) extends ServiceWarning with Product with Serializable
  79. final case class UnknownTemplateIds(unknownTemplateIds: List[ContractTypeId.OptionalPkg]) extends ServiceWarning with Product with Serializable
  80. final case class UserDetails(userId: String, primaryParty: Option[String]) extends Product with Serializable
  81. sealed abstract class UserRight extends Product with Serializable
  82. type WorkflowId = @@[String, WorkflowIdTag]
  83. type WorkflowIdTag = ledger.api.refinements.ApiTypes.WorkflowIdTag

Value Members

  1. final val ActiveContract: fetchcontracts.domain.ActiveContract.type
  2. val ApplicationId: TagOf[ledger.api.refinements.ApiTypes.ApplicationIdTag]
  3. val Base16: TagOf[Base16Tag]
  4. val Base64: TagOf[Base64Tag]
  5. val Choice: TagOf[ChoiceTag]
  6. val CommandId: TagOf[ledger.api.refinements.ApiTypes.CommandIdTag]
  7. val CompletionOffset: TagOf[CompletionOffsetTag]
  8. final val ContractId: TagOf[ContractIdTag]
  9. final val Error: fetchcontracts.domain.Error.type
  10. val LedgerId: TagOf[ledger.api.refinements.ApiTypes.LedgerIdTag]
  11. final val Offset: fetchcontracts.domain.Offset.type
  12. final val Party: TagOf[PartyTag]
  13. val RetryInfoDetailDuration: TagOf[RetryInfoDetailDurationTag]
  14. val SubmissionId: TagOf[SubmissionIdTag]
  15. val WorkflowId: TagOf[WorkflowIdTag]
  16. object ActiveContractExtras
  17. object ArchivedContract extends Serializable
  18. object CommandMeta extends Serializable
  19. object Contract extends Serializable
  20. object ContractKeyStreamRequest extends Serializable
  21. object ContractLocator extends Serializable
  22. object ContractTypeId extends ContractTypeIdLike[ContractTypeId] with Serializable
  23. object CreateAndExerciseCommand extends Serializable
  24. object CreateCommand extends Serializable
  25. object CreateCommandResponse extends Serializable
  26. object DeduplicationPeriod extends Serializable
  27. object DisclosedContract extends Serializable
  28. object EnrichedContractKey extends Serializable
  29. object ErrorDetail extends Serializable
  30. object ExerciseCommand extends Serializable
  31. object ExerciseResponse extends Serializable
  32. object HasTemplateId
  33. case object IdentityProviderAdmin extends UserRight with Product with Serializable
  34. object JwtPayload extends Serializable
  35. object OkResponse extends Serializable
  36. case object ParticipantAdmin extends UserRight with Product with Serializable
  37. object PartyDetails extends Serializable
  38. object ResolvedQuery extends Serializable
  39. object SyncResponse extends Serializable
  40. object UserDetails extends Serializable
  41. object UserRights

Inherited from AnyRef

Inherited from Any

Ungrouped