Packages

package v2

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package damldefinitionsservice

Type Members

  1. final case class ApiDocs(openApi: String, asyncApi: String) extends Product with Serializable
  2. class ApiDocsGenerator extends NamedLogging
  3. trait DocumentationEndpoints extends AnyRef
  4. trait Endpoints extends NamedLogging
  5. final case class ExtractedProtoComments(messages: SortedMap[String, MessageInfo], oneOfs: SortedMap[String, SortedMap[String, MessageInfo]]) extends Product with Serializable
  6. final case class FieldData(comments: Option[String], fieldComments: Map[String, String]) extends Product with Serializable
  7. class JsApiDocsService extends Endpoints
  8. final case class JsArchived(archivedEvent: ArchivedEvent, synchronizerId: String) extends Product with Serializable
  9. final case class JsAssignedEvent(source: String, target: String, unassignId: String, submitter: String, reassignmentCounter: Long, createdEvent: CreatedEvent) extends Product with Serializable
  10. class JsCommandService extends Endpoints with NamedLogging
  11. final case class JsCommands(commands: Seq[Command], commandId: String, actAs: Seq[String], userId: Option[String] = None, readAs: Seq[String] = Seq.empty, workflowId: Option[String] = None, deduplicationPeriod: Option[daml.ledger.api.v2.commands.Commands.DeduplicationPeriod] = None, minLedgerTimeAbs: Option[Timestamp] = None, minLedgerTimeRel: Option[Duration] = None, submissionId: Option[String] = None, disclosedContracts: Seq[daml.ledger.api.v2.commands.DisclosedContract] = Seq.empty, synchronizerId: Option[String] = None, packageIdSelectionPreference: Seq[String] = Seq.empty) extends Product with Serializable
  12. final case class JsCreated(createdEvent: CreatedEvent, synchronizerId: String) extends Product with Serializable
  13. class JsDamlDefinitionsService extends Endpoints
  14. class JsEventService extends Endpoints with NamedLogging
  15. final case class JsExecuteSubmissionRequest(preparedTransaction: Option[ByteString], partySignatures: Option[PartySignatures], deduplicationPeriod: daml.ledger.api.v2.interactive.interactive_submission_service.ExecuteSubmissionRequest.DeduplicationPeriod, submissionId: String, userId: String, hashingSchemeVersion: HashingSchemeVersion, minLedgerTime: Option[MinLedgerTime] = None) extends Product with Serializable
  16. final case class JsGetActiveContractsResponse(workflowId: String, contractEntry: JsContractEntry.JsContractEntry) extends Product with Serializable
  17. final case class JsGetEventsByContractIdResponse(created: Option[JsCreated], archived: Option[JsArchived]) extends Product with Serializable
  18. final case class JsGetTransactionResponse(transaction: JsTransaction) extends Product with Serializable
  19. final case class JsGetTransactionTreeResponse(transaction: JsTransactionTree) extends Product with Serializable
  20. final case class JsGetUpdateResponse(update: Update) extends Product with Serializable
  21. final case class JsGetUpdateTreesResponse(update: Update) extends Product with Serializable
  22. final case class JsGetUpdatesResponse(update: Update) extends Product with Serializable
  23. class JsIdentityProviderService extends Endpoints with NamedLogging
  24. class JsInteractiveSubmissionService extends Endpoints with NamedLogging
  25. class JsPackageService extends Endpoints
  26. class JsPartyManagementService extends Endpoints with NamedLogging
  27. final case class JsPrepareSubmissionRequest(userId: String, commandId: String, commands: Seq[Command], minLedgerTime: Option[MinLedgerTime], actAs: Seq[String], readAs: Seq[String], disclosedContracts: Seq[daml.ledger.api.v2.commands.DisclosedContract], synchronizerId: String, packageIdSelectionPreference: Seq[String], verboseHashing: Boolean, maxRecordTime: Option[Timestamp]) extends Product with Serializable
  28. final case class JsPrepareSubmissionResponse(preparedTransaction: Option[ByteString], preparedTransactionHash: ByteString, hashingSchemeVersion: HashingSchemeVersion, hashingDetails: Option[String]) extends Product with Serializable
  29. class JsStateService extends Endpoints with NamedLogging
  30. final case class JsSubmitAndWaitForReassignmentResponse(reassignment: JsReassignment) extends Product with Serializable
  31. final case class JsSubmitAndWaitForTransactionRequest(commands: JsCommands, transactionFormat: Option[TransactionFormat] = None) extends Product with Serializable
  32. final case class JsSubmitAndWaitForTransactionResponse(transaction: JsTransaction) extends Product with Serializable
  33. final case class JsSubmitAndWaitForTransactionTreeResponse(transactionTree: JsTransactionTree) extends Product with Serializable
  34. class JsUpdateService extends Endpoints with NamedLogging
    Annotations
    @nowarn()
  35. class JsUserManagementService extends Endpoints with NamedLogging
  36. class JsVersionService extends Endpoints
  37. final case class MessageInfo(message: FieldData) extends Product with Serializable
  38. final case class PagedList[INPUT](input: INPUT, pageSize: Option[Int], pageToken: Option[String]) extends Product with Serializable
  39. final case class ProtoInfo(protoComments: ExtractedProtoComments) extends Product with Serializable

    Reads stored proto data in order to extract comments (and put into openapi).

    Reads stored proto data in order to extract comments (and put into openapi).

    The algorithms used are inefficient, but since the code is used only to generate documentation it should not cause any problems.

  40. trait ProtocolConverter[LAPI, JS] extends AnyRef
  41. class ProtocolConverters extends AnyRef
  42. class SchemaProcessors extends AnyRef
  43. final case class StreamList[INPUT](input: INPUT, limit: Option[Long], waitTime: Option[Long]) extends Product with Serializable
  44. class V2Routes extends Endpoints with NamedLogging

Value Members

  1. object CirceRelaxedCodec

    This codec automatically fills missing json attributes as long as they are Seq, Option or Map.

    This codec automatically fills missing json attributes as long as they are Seq, Option or Map.

    This emulates to some extent gRPC / proto behaviour, where all fields are optional.

    We should use:

    • deriveRelaxedCodec:
      • for gRPC scalaPb generated case classes
    • deriveConfiguredCodec:
      • for JS mirrors of gRPC classes
      • for proto base lib classes (not generated), (they have default value)
      • for gRPC scalaPb generated roots of ADT
  2. object Endpoints
  3. object IdentifierConverter extends ProtocolConverter[Identifier, String]
  4. object JsCommand
  5. object JsCommandService extends DocumentationEndpoints
  6. object JsCommandServiceCodecs
  7. object JsContractEntry
  8. object JsDamlDefinitionsService
  9. object JsEventService extends DocumentationEndpoints
  10. object JsEventServiceCodecs
  11. object JsIdentityProviderCodecs
  12. object JsIdentityProviderService extends DocumentationEndpoints
  13. object JsInteractiveSubmissionService extends DocumentationEndpoints
  14. object JsInteractiveSubmissionServiceCodecs
  15. object JsPackageCodecs
  16. object JsPackageService extends DocumentationEndpoints
  17. object JsPartyManagementCodecs
  18. object JsPartyManagementService extends DocumentationEndpoints
  19. object JsSchema

    JSON wrappers that do not belong to a particular service

  20. object JsStateService extends DocumentationEndpoints
    Annotations
    @nowarn()
  21. object JsStateServiceCodecs
    Annotations
    @nowarn()
  22. object JsStatusConverter extends ProtocolConverter[Status, JsStatus]
  23. object JsUpdate
  24. object JsUpdateService extends DocumentationEndpoints
    Annotations
    @nowarn()
  25. object JsUpdateServiceCodecs
    Annotations
    @nowarn()
  26. object JsUpdateTree
  27. object JsUserManagementCodecs
  28. object JsUserManagementService extends DocumentationEndpoints
  29. object JsVersionService extends DocumentationEndpoints
  30. object JsVersionServiceCodecs
  31. object OpenAPI3_0_3Fix
  32. object ProtoInfo extends Serializable
  33. object SchemaProcessors
  34. object V2Routes

Ungrouped