Packages

package cli

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

Type Members

  1. type Action = Kleisli[IO, AppConfig, Unit]

    The dynamics program runs "actions"

  2. case class ActionConfig(action: String = "", payloadFile: Option[String] = scala.None, pprint: Boolean = false) extends Product with Serializable
  3. type ActionSelector = (AppConfig, DynamicsContext) ⇒ Option[Action]

    Select an action to run or return None.

  4. class AddSolutionComponentArgs extends Object

    See: https://msdn.microsoft.com/en-us/library/mt593057.aspx

    See: https://msdn.microsoft.com/en-us/library/mt593057.aspx

    See: https://msdn.microsoft.com/en-us/library/gg328546.aspx#bkmk_componenttype

    Annotations
    @ScalaJSDefined() @RawJSType()
  5. trait AddSolutionComponentResponse extends Object
    Annotations
    @ScalaJSDefined() @RawJSType()
  6. case class AppConfig(common: CommonConfig = ..., solution: SolutionConfig = ..., export: ExportConfig = ..., update: UpdateConfig = ..., etl: ETLConfig = ..., workflow: WorkflowConfig = ..., plugin: PluginConfig = ..., importdata: ImportConfig = ..., webResource: WebResourceConfig = ..., metadata: MetadataConfig = ..., sdkMessage: SDKMessageConfig = ..., test: TestConfig = ..., systemjob: SystemJobConfig = SystemJobConfig.apply(), action: ActionConfig = ..., settings: SettingsConfig = ..., appModule: AppModuleConfig = ..., token: TokenConfig = ..., user: UserConfig = ..., themes: ThemesConfig = ..., deduplication: DeduplicationConfig = ...) extends Product with Serializable
  7. case class AppModuleConfig(roleName: Seq[String] = scala.collection.immutable.Nil, change: Option[String] = scala.None, appName: Option[String] = scala.None) extends Product with Serializable
  8. class ApplicationActions extends AnyRef
  9. class AsyncOperationsCommand extends AnyRef
  10. trait CLIApplication extends AnyRef

    A simple cake to bundle together a data structure for capturing CLI parameters and a CLI parser that can parse parameters.

  11. class ChangeWorkflowStatus extends Object
    Annotations
    @ScalaJSDefined() @RawJSType()
  12. case class CommonConfig(lcid: Int = 1033, debug: Boolean = false, loggerLevel: Option[String] = scala.Some.apply[String]("error"), quiet: Boolean = false, verbose: Boolean = false, verbosity: Int = 0, crmConfigFile: Option[String] = scala.None, officeConfigFile: Option[String] = scala.None, outputDir: String = "./", outputFile: Option[String] = scala.None, logFile: String = "dynamicscli.log", noclobber: Boolean = false, numRetries: Int = 5, retryPolicy: String = "backoff", pauseBetween: FiniteDuration = ..., command: String = "", subcommand: String = "", filter: Seq[String] = scala.collection.immutable.Nil, connectInfo: ConnectionInfo = null, createDirectories: Boolean = true, tableFormat: String = "ramac", fields: Option[Seq[String]] = scala.None, requestTimeOutInMillis: Option[Int] = scala.None, concurrency: Int = 4, batchSize: Int = 10, batch: Boolean = false, metadataCacheFile: Option[String] = scala.None, ignoreMetadataCache: Boolean = false, actionSelector: Option[ActionSelector] = ..., impersonate: Option[String] = scala.None) extends Product with Serializable
  13. trait Context[F[_]] extends AnyRef

    Context for running commands.

  14. trait CustomerAddress extends Object
    Annotations
    @RawJSType() @native()
  15. class DeduplicationActions extends AnyRef
  16. case class DeduplicationConfig(identifiers: Seq[String] = scala.collection.immutable.Nil) extends Product with Serializable
  17. trait DynamicsContext extends Context[IO]

    Dynamics context.

  18. case class ETLConfig(name: String = "", paramsFile: Option[String] = scala.None, dataInputFile: String = "", verbosity: Int = 0, take: Option[Long] = scala.None, drop: Option[Long] = scala.None, maxPageSize: Option[Int] = scala.None, cliParameters: Map[String, String] = ..., dryRun: Boolean = false, query: Option[String] = scala.None, queryFile: Option[String] = scala.None, connectionUrl: Option[String] = scala.None, connectionFile: Option[String] = scala.None) extends Product with Serializable
  19. case class EnityReference(entity: String, id: String) extends Product with Serializable
  20. class EntityActions extends LazyLogger
  21. abstract class EntityProcessor extends AnyRef

    Processes CRM entities.

    Processes CRM entities. All remote action is delayed until the returned effect is run.

    Add flexible ways to managed errors and return values

  22. case class ExportConfig(entity: String = "", filter: Option[String] = scala.None, select: Seq[String] = scala.collection.immutable.Nil, orderBy: Seq[String] = scala.collection.immutable.Nil, top: Option[Int] = scala.None, skip: Option[Int] = scala.None, includeCount: Boolean = false, raw: Boolean = false, fetchXml: Option[String] = scala.None, maxPageSize: Option[Int] = scala.None, includeFormattedValues: Boolean = false, query: String = "", queries: Map[String, String] = ..., queryFile: Option[String] = scala.None, wrap: Boolean = false, repeat: Boolean = false, repeatDelay: Int = 60, header: Boolean = true, useFunction: Boolean = false) extends Product with Serializable
  23. class ExportSolution extends Object
    Annotations
    @ScalaJSDefined() @RawJSType()
  24. trait ExportSolutionResponse extends Object
    Annotations
    @RawJSType() @native()
  25. trait GraphContext extends Context[IO]

    Graph client.

  26. trait HTTPContext extends Context[IO]

    General HTTP context that is not dynamics specific.

  27. case class ImportConfig(uploadFilename: Seq[String] = scala.collection.immutable.Nil, importMapNoClobber: Boolean = false, importDataInputFile: String = "", mapName: String = "", importDataName: Option[String] = scala.None, importDataPollingInterval: Int = 60, importDataEnableDuplicateDetection: Boolean = false, importDataCreate: Boolean = true, importDataDeleteJobName: String = "", importDataDeleteImportId: String = "", importDataDeleteRecurrencePattern: Option[String] = scala.None, importDataDeleteStartTime: Option[String] = scala.None, importDataDeleteQueryJson: Option[String] = scala.None, importDataResumeImportId: String = "", importDataResumeImportFileId: String = "", recordsOwnerId: Option[String] = scala.None) extends Product with Serializable
  28. class ImportDataActions extends AnyRef
  29. class ImportMapActions extends LazyLogger
  30. class LoadAddressesActions extends AnyRef

    Loading addresses requires that the input is json with all the attributes set.

    Loading addresses requires that the input is json with all the attributes set. The only requirement is that parentid is sets in the input data source and it should be remove, along with any other non-modelled attributes using the etl CLI parameters.

  31. class MetadataActions extends AnyRef
  32. case class MetadataConfig(includeGlobal: Boolean = true, includeLocal: Boolean = true) extends Product with Serializable
  33. class OptionSetsActions extends LazyLogger
  34. trait OrganizationJS extends Object
    Annotations
    @RawJSType() @native()
  35. class PluginActions extends AnyRef
  36. case class PluginConfig(source: Option[String] = scala.None, watch: Boolean = false) extends Product with Serializable
  37. class PublisherActions extends AnyRef
  38. trait Rename extends Object

    Rename a field from source to target.

    Rename a field from source to target.

    Annotations
    @ScalaJSDefined() @RawJSType()
  39. case class SDKMessageConfig(id: String = "") extends Product with Serializable
  40. trait SDKMessageProcessingStep extends Object
    Annotations
    @RawJSType() @native()
  41. class SDKMessageProcessingStepsActions extends LazyLogger
  42. class SettingsActions extends LazyLogger

    Perform a post on an undocumented API to set an org's settings.

    Perform a post on an undocumented API to set an org's settings. You will need to prepare a config file in the specific format to post as the body.

  43. case class SettingsConfig(settingsFile: Option[String] = scala.None, entityList: Seq[String] = scala.collection.immutable.Nil, name: Option[String] = scala.None) extends Product with Serializable
  44. class SolutionActions extends LazyLogger
  45. case class SolutionConfig(solutionUploadFile: String = null, solutionName: String = null, solutionExportManaged: Boolean = false, solutionJsonConfigFile: Option[String] = scala.None, solutionPublishWorkflows: Boolean = true) extends Product with Serializable
  46. trait SolutionJS extends Object
    Annotations
    @RawJSType() @native()
  47. trait StandardCLIApplication extends CLIApplication

    Standard operations for a basic CLI.

  48. case class SystemJobConfig() extends Product with Serializable
  49. class TestCommand extends AnyRef
  50. case class TestConfig(testArg: Option[String] = scala.None) extends Product with Serializable
  51. class ThemeActions extends AnyRef
  52. case class ThemesConfig(source: Option[String] = scala.None, target: Option[String] = scala.None, webresourceName: Option[String] = scala.None, mergeFile: Option[String] = scala.None) extends Product with Serializable
  53. class TokenActions extends LazyLogger
  54. case class TokenConfig(tokenOutputFile: String = "crm-token.json", refreshIntervalInMinutes: Int = 55) extends Product with Serializable
  55. class UpdateActions extends AnyRef

    Can run a generic upsert operation but requires data in a specific format.

    Can run a generic upsert operation but requires data in a specific format. The format is a sequence of json objects that are ready for an update post. The payload should contain the id to be updated. If it's present but not yet an id, it will be used for an upsert operation. Some advanced processing of individual attributes is available to help make updates easier e.g. lookups and newline expands.

  56. case class UpdateConfig(inputFile: String = "", upsert: Boolean = false, entity: String = "", pk: Option[String] = scala.Some.apply[String]("id"), upsertPreventCreate: Boolean = true, upsertPreventUpdate: Boolean = false, renames: Seq[(String, String)] = scala.collection.immutable.Nil, keeps: Seq[String] = scala.collection.immutable.Nil, drops: Seq[String] = scala.collection.immutable.Nil, drop: Option[Int] = scala.None, take: Option[Int] = scala.None, updateTransform: Transform[Object, Object] = ..., configFile: Option[String] = scala.None, config: Option[UpdateProcessingConfig] = scala.None, query: Option[String] = scala.None, skipIfNull: Boolean = true, source: Option[String] = scala.None, target: Option[String] = scala.None, value: Option[String] = scala.None) extends Product with Serializable
  57. trait UpdateProcessingConfig extends Object

    Configuration for performing an update.

    Configuration for performing an update.

    Annotations
    @ScalaJSDefined() @RawJSType()
  58. class UpdateProcessor extends AnyRef
  59. case class UserConfig(userid: Option[String] = scala.None, roleNames: Seq[String] = scala.collection.immutable.Nil, userQuery: Option[String] = scala.None) extends Product with Serializable
  60. class UsersActions extends UsersDAO
  61. trait UsersDAO extends AnyRef
  62. case class WebResourceConfig(webResourceDumpRawOutputFile: String = null, webResourceDownloadStripPrefix: Boolean = false, webResourceUploadSource: Seq[String] = scala.collection.immutable.Nil, webResourceUploadPrefix: Option[String] = scala.None, webResourceUploadSolution: String = "Default", webResourceUploadPublish: Boolean = true, webResourceUploadNoclobber: Boolean = false, webResourceUploadRegister: Boolean = true, webResourceUploadType: Option[String] = scala.None, webResourceUploadWatch: Boolean = false, webResourceUploadWatchIgnore: Seq[String] = scala.collection.immutable.Nil, webResourceDeleteNameRegex: Seq[String] = scala.collection.immutable.Nil, webResourceDeletePublish: Boolean = true) extends Product with Serializable
  63. class WebResourcesCommand extends AnyRef
  64. class WhoAmIActions extends AnyRef
  65. class WorkflowActions extends AnyRef

    https://msdn.microsoft.com/en-us/library/mt622427.aspx

  66. case class WorkflowConfig(workflowODataQuery: Option[String] = scala.None, workflowPkName: String = "", workflowBatch: Boolean = false, workflowCache: Boolean = false, workflowCacheFilename: Option[String] = scala.None, activate: Boolean = true, workflowIds: Seq[String] = scala.collection.immutable.Nil, workflowNames: Seq[String] = scala.collection.immutable.Nil, workflowActivateFilterName: Option[String] = scala.None) extends Product with Serializable
  67. trait WorkflowJson extends Object
    Annotations
    @ScalaJSDefined() @RawJSType()

Value Members

  1. def NoArgAction(block: ⇒ Unit): Action

    An action that does need the arguments.

  2. val defaultCrmConfigFile: String

    Default connection config resource.

  3. def doNothing1[A]: (A) ⇒ IO[Unit]
  4. def isDefined(a: Any): Boolean

    Must not be null or js.undefined.

  5. object Action
  6. object ActionConfig extends Serializable
  7. object AppConfig extends Serializable
  8. object AppModuleConfig extends Serializable
  9. object BuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  10. object CSVStringifyX
  11. object CommandLine
  12. object CommonConfig extends Serializable
  13. object DeduplicationActions
  14. object DeduplicationConfig extends Serializable
  15. object DynamicsContext
  16. object ETLConfig extends Serializable
  17. object ExportConfig extends Serializable
  18. object GraphContext
  19. object HTTPContext
  20. object ImportConfig extends Serializable
  21. object ImportDataActions
  22. object ImportMapActions
  23. object ImportMapUtils
  24. object Listings
  25. object Main
  26. object MainHelpers extends LazyLogger
  27. object MetadataActions
  28. object MetadataConfig extends Serializable
  29. object OptionSetsActions
  30. object PluginActions
  31. object PluginConfig extends Serializable
  32. object SDKMessageConfig extends Serializable
  33. object SDKMessageProcessingStepsActions
  34. object SettingsActions
  35. object SettingsConfig extends Serializable
  36. object ShortHash extends Object
    Annotations
    @native() @JSImport( "shorthash" , JSImport.Namespace )
  37. object SolutionActions
  38. object SolutionConfig extends Serializable
  39. object SystemJobConfig extends Serializable
  40. object TestConfig extends Serializable
  41. object ThemeActions
  42. object ThemesConfig extends Serializable
  43. object TokenConfig extends Serializable
  44. object UpdateActions
  45. object UpdateConfig extends Serializable
  46. object UserConfig extends Serializable
  47. object WebResource
  48. object WebResourceConfig extends Serializable
  49. object WorkflowActions
  50. object WorkflowConfig extends Serializable
  51. object WorkflowStateCode
  52. object WorkflowStatusCode
  53. object contextdefaults

    Utilities for creating contexts.

  54. object metadata

    Metadata objects retrieveable from the CRM server.

    Metadata objects retrieveable from the CRM server. Metadata is converted to a scala-first format.

    Procesing only grabs the user localized versions of localized strings.

    TODO: Allow language selection on localized strings.

Inherited from AnyRef

Inherited from Any

Ungrouped