package v2
Ordering
- Alphabetic
Visibility
- Public
- Protected
Package Members
- package damldefinitionsservice
Type Members
- final case class ApiDocs(openApi: String, asyncApi: String) extends Product with Serializable
- class ApiDocsGenerator extends NamedLogging
- trait DocumentationEndpoints extends AnyRef
- trait Endpoints extends NamedLogging
- final case class ExtractedProtoComments(messages: SortedMap[String, MessageInfo], oneOfs: SortedMap[String, SortedMap[String, MessageInfo]]) extends Product with Serializable
- final case class FieldData(comments: Option[String], fieldComments: Map[String, String]) extends Product with Serializable
- class JsApiDocsService extends Endpoints
- final case class JsArchived(archivedEvent: ArchivedEvent, synchronizerId: String) extends Product with Serializable
- final case class JsAssignedEvent(source: String, target: String, unassignId: String, submitter: String, reassignmentCounter: Long, createdEvent: CreatedEvent) extends Product with Serializable
- class JsCommandService extends Endpoints with NamedLogging
- 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
- final case class JsCreated(createdEvent: CreatedEvent, synchronizerId: String) extends Product with Serializable
- class JsDamlDefinitionsService extends Endpoints
- class JsEventService extends Endpoints with NamedLogging
- 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
- final case class JsGetActiveContractsResponse(workflowId: String, contractEntry: JsContractEntry.JsContractEntry) extends Product with Serializable
- final case class JsGetEventsByContractIdResponse(created: Option[JsCreated], archived: Option[JsArchived]) extends Product with Serializable
- final case class JsGetTransactionResponse(transaction: JsTransaction) extends Product with Serializable
- final case class JsGetTransactionTreeResponse(transaction: JsTransactionTree) extends Product with Serializable
- final case class JsGetUpdateResponse(update: Update) extends Product with Serializable
- final case class JsGetUpdateTreesResponse(update: Update) extends Product with Serializable
- final case class JsGetUpdatesResponse(update: Update) extends Product with Serializable
- class JsIdentityProviderService extends Endpoints with NamedLogging
- class JsInteractiveSubmissionService extends Endpoints with NamedLogging
- class JsPackageService extends Endpoints
- class JsPartyManagementService extends Endpoints with NamedLogging
- 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
- final case class JsPrepareSubmissionResponse(preparedTransaction: Option[ByteString], preparedTransactionHash: ByteString, hashingSchemeVersion: HashingSchemeVersion, hashingDetails: Option[String]) extends Product with Serializable
- class JsStateService extends Endpoints with NamedLogging
- final case class JsSubmitAndWaitForReassignmentResponse(reassignment: JsReassignment) extends Product with Serializable
- final case class JsSubmitAndWaitForTransactionRequest(commands: JsCommands, transactionFormat: Option[TransactionFormat] = None) extends Product with Serializable
- final case class JsSubmitAndWaitForTransactionResponse(transaction: JsTransaction) extends Product with Serializable
- final case class JsSubmitAndWaitForTransactionTreeResponse(transactionTree: JsTransactionTree) extends Product with Serializable
- class JsUpdateService extends Endpoints with NamedLogging
- Annotations
- @nowarn()
- class JsUserManagementService extends Endpoints with NamedLogging
- class JsVersionService extends Endpoints
- final case class MessageInfo(message: FieldData) extends Product with Serializable
- final case class PagedList[INPUT](input: INPUT, pageSize: Option[Int], pageToken: Option[String]) extends Product with Serializable
- 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.
- trait ProtocolConverter[LAPI, JS] extends AnyRef
- class ProtocolConverters extends AnyRef
- class SchemaProcessors extends AnyRef
- final case class StreamList[INPUT](input: INPUT, limit: Option[Long], waitTime: Option[Long]) extends Product with Serializable
- class V2Routes extends Endpoints with NamedLogging
Value Members
- 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
- deriveRelaxedCodec:
- object Endpoints
- object IdentifierConverter extends ProtocolConverter[Identifier, String]
- object JsCommand
- object JsCommandService extends DocumentationEndpoints
- object JsCommandServiceCodecs
- object JsContractEntry
- object JsDamlDefinitionsService
- object JsEventService extends DocumentationEndpoints
- object JsEventServiceCodecs
- object JsIdentityProviderCodecs
- object JsIdentityProviderService extends DocumentationEndpoints
- object JsInteractiveSubmissionService extends DocumentationEndpoints
- object JsInteractiveSubmissionServiceCodecs
- object JsPackageCodecs
- object JsPackageService extends DocumentationEndpoints
- object JsPartyManagementCodecs
- object JsPartyManagementService extends DocumentationEndpoints
- object JsSchema
JSON wrappers that do not belong to a particular service
- object JsStateService extends DocumentationEndpoints
- Annotations
- @nowarn()
- object JsStateServiceCodecs
- Annotations
- @nowarn()
- object JsStatusConverter extends ProtocolConverter[Status, JsStatus]
- object JsUpdate
- object JsUpdateService extends DocumentationEndpoints
- Annotations
- @nowarn()
- object JsUpdateServiceCodecs
- Annotations
- @nowarn()
- object JsUpdateTree
- object JsUserManagementCodecs
- object JsUserManagementService extends DocumentationEndpoints
- object JsVersionService extends DocumentationEndpoints
- object JsVersionServiceCodecs
- object OpenAPI3_0_3Fix
- object ProtoInfo extends Serializable
- object SchemaProcessors
- object V2Routes