Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CfgnClient

Index

Constructors

constructor

Methods

Static changeCfgnValue

  • changeCfgnValue(values: CfgnValue | CfgnValue[], callback?: Function, defer?: boolean): void

Static checkout

  • checkout(shopInput?: string, callback?: Function, errorCallback?: Function): void
  • Parameters

    • Optional shopInput: string
    • Optional callback: Function
    • Optional errorCallback: Function

    Returns void

Static generateCustomId

  • generateCustomId(callback: (customId: string) => void, errorCallback?: Function): void
  • Generates a custom ID for the current configuration.
    Can be used in configurator previews as well, but always returns the same custom ID there.

    Note

    Before this can be used, custom IDs need to be activated once for the configurator.
    Activation is done via Cbn.ApiClient.setupCustomId or Cbn.ApiClient.setupShuffledCustomId.

    Parameters

    • callback: (customId: string) => void
        • (customId: string): void
        • Parameters

          • customId: string

          Returns void

    • Optional errorCallback: Function

    Returns void

Static sendMail

Static startSpecificationResourceUpload

  • startSpecificationResourceUpload(cmpName: string, resourceName: string, fileExtension: string, callback?: Function, errorCallback?: Function): void
  • Request SAS URI to upload a specification resources (end user resources...)

    Parameters

    • cmpName: string
    • resourceName: string
    • fileExtension: string
    • Optional callback: Function

      Called after the server returned with an authenticate message

    • Optional errorCallback: Function

    Returns void

Generated using TypeDoc