diff --git a/.gitignore b/.gitignore index 907c6cf..a75988a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -/cjs -/esm /node_modules -/.vscode \ No newline at end of file +/.vscode +/dist \ No newline at end of file diff --git a/README.md b/README.md index 65d86f2..24223fb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # T4.ts -### Still in active development A TypeScript wrapper for TerminalFour's REST API ## Installing diff --git a/docs/classes/Client.html b/docs/classes/Client.html index 5c5be5c..2556bf6 100644 --- a/docs/classes/Client.html +++ b/docs/classes/Client.html @@ -20,7 +20,7 @@

Hierarchy

+
  • Defined in src/lib/Client.ts:17
  • @@ -92,99 +92,99 @@

    Returns Promise<

    Returns Client

    +
  • Defined in src/lib/Client.ts:37
  • Properties

    content: Content
    +
  • Defined in src/lib/Client.ts:23
  • contentType: ContentType
    +
  • Defined in src/lib/Client.ts:24
  • download: Download
    +
  • Defined in src/lib/Client.ts:25
  • fetch: any
    +
  • Defined in src/lib/Client.ts:21
  • formBuilder: FormBuilder
    +
  • Defined in src/lib/Client.ts:26
  • hierarchy: Hierarchy
    +
  • Defined in src/lib/Client.ts:27
  • language: string
    +
  • Defined in src/lib/Client.ts:20
  • list: List
    +
  • Defined in src/lib/Client.ts:31
  • media: Media
    +
  • Defined in src/lib/Client.ts:28
  • mediaCategory: MediaCategory
    +
  • Defined in src/lib/Client.ts:29
  • mediaType: MediaType
    +
  • Defined in src/lib/Client.ts:30
  • profile: Profile
    +
  • Defined in src/lib/Client.ts:32
  • serverSideLink: ServerSideLink
    +
  • Defined in src/lib/Client.ts:33
  • token: String
    +
  • Defined in src/lib/Client.ts:19
  • type: Type
    +
  • Defined in src/lib/Client.ts:34
  • upload: Upload
    +
  • Defined in src/lib/Client.ts:35
  • url: String
    +
  • Defined in src/lib/Client.ts:18
  • version: Version
    +
  • Defined in src/lib/Client.ts:36
  • Methods

    @@ -203,7 +203,7 @@
    endpoint: options: any

    Returns Promise<Response>

    +
  • Defined in src/lib/Client.ts:61
  • +
  • Defined in src/lib/Client.ts:85
  • Returns Elements

    +
  • Defined in src/lib/Content.ts:7
  • Methods

    @@ -139,7 +139,7 @@
    options: isFormatted: boolean = false

    Returns Promise<ContentDTO>

    +
  • Defined in src/lib/Content.ts:74
  • Returns Promise<boolean>

    +
  • Defined in src/lib/Content.ts:69
  • Returns Promise<ContentDTO>

    +
  • Defined in src/lib/Content.ts:58
  • Returns Promise<VersionDTO[]>

    +
  • Defined in src/lib/Content.ts:49
  • Returns Promise<ContentDTO>

    +
  • Defined in src/lib/Content.ts:63
  • Returns Promise<any>

    +
  • Defined in src/lib/Content.ts:106
  • Returns Promise<ContentDTO>

    +
  • Defined in src/lib/Content.ts:111
  • Returns Promise<NewContentDTO>

    +
  • Defined in src/lib/Content.ts:101
  • Returns Promise<boolean>

    +
  • Defined in src/lib/Content.ts:127
  • Returns Promise<ContentTypeDTO>

    +
  • Defined in src/lib/ContentType.ts:16
  • +
  • Defined in src/lib/ContentType.ts:11
  • Returns Promise<FileDownload>

    +
  • Defined in src/lib/Download.ts:11
  • Returns Promise<FileDownload>

    +
  • Defined in src/lib/Download.ts:16
  • Returns Promise<FormBuilderResponseDTO>

    +
  • Defined in src/lib/FormBuilder.ts:11
  • Returns Promise<SectionDTO>

    +
  • Defined in src/lib/Hierarchy.ts:66
  • Returns Promise<boolean>

    +
  • Defined in src/lib/Hierarchy.ts:55
  • Returns Promise<SectionDTO>

    +
  • Defined in src/lib/Hierarchy.ts:11
  • Returns Promise<HierarchyContentResponseDTO>

    +
  • Defined in src/lib/Hierarchy.ts:36
  • Returns Promise<HierarchyResponse>

    +
  • Defined in src/lib/Hierarchy.ts:16
  • Returns Promise<boolean>

    +
  • Defined in src/lib/Hierarchy.ts:76
  • Returns Promise<boolean>

    +
  • Defined in src/lib/Hierarchy.ts:60
  • Returns Promise<PredefinedListDTO>

    +
  • Defined in src/lib/List.ts:11
  • Returns Promise<PredefinedListDTO>

    +
  • Defined in src/lib/List.ts:16
  • Returns Promise<number[]>

    +
  • Defined in src/lib/Media.ts:10
  • Methods

    @@ -108,7 +108,7 @@

    Parameters

    data: MediaUpload

    Returns Promise<any>

    +
  • Defined in src/lib/Media.ts:30
  • Returns Promise<any>

    +
  • Defined in src/lib/Media.ts:78
  • Returns Promise<null | ArrayBuffer>

    +
  • Defined in src/lib/Media.ts:93
  • Returns Promise<MediaItemDTO>

    +
  • Defined in src/lib/Media.ts:37
  • Returns Promise<MediaUsageDTO[]>

    +
  • Defined in src/lib/Media.ts:73
  • Returns Promise<MediaItemTableData>

    +
  • Defined in src/lib/Media.ts:83
  • Returns Promise<number>

    +
  • Defined in src/lib/Media.ts:42
  • Returns Promise<FormData>

    +
  • Defined in src/lib/Media.ts:53
  • Returns Promise<MediaCategoryObject>

    +
  • Defined in src/lib/MediaCategory.ts:40
  • Returns Promise<MediaCategoryObject>

    +
  • Defined in src/lib/MediaCategory.ts:27
  • Returns Promise<MediaCategoryObject[]>

    +
  • Defined in src/lib/MediaCategory.ts:11
  • Returns Promise<MediaCategoryObject>

    +
  • Defined in src/lib/MediaCategory.ts:32
  • +
  • Defined in src/lib/MediaType.ts:10
  • Returns Promise<any>

    +
  • Defined in src/lib/Profile.ts:16
  • Returns Promise<ServerSideLinkDTO[]>

    +
  • Defined in src/lib/ServerSideLink.ts:7
  • Methods

    @@ -116,7 +116,7 @@

    Parameters

    options: ServerSideLinkData

    Returns Promise<string>

    +
  • Defined in src/lib/ServerSideLink.ts:44
  • Returns Promise<ServerSideLinkDTO>

    +
  • Defined in src/lib/ServerSideLink.ts:54
  • Returns Promise<any>

    +
  • Defined in src/lib/ServerSideLink.ts:68
  • Returns Promise<any>

    +
  • Defined in src/lib/ServerSideLink.ts:63
  • Returns Promise<any>

    +
  • Defined in src/lib/ServerSideLink.ts:49
  • Returns Promise<ServerSideLinkDTO>

    +
  • Defined in src/lib/ServerSideLink.ts:35
  • +
  • Defined in src/lib/Type.ts:10
  • Returns Promise<UploadDTO>

    +
  • Defined in src/lib/Upload.ts:19
  • +
  • Defined in src/lib/Upload.ts:14
  • Returns Promise<VersionDTO[]>

    +
  • Defined in src/lib/Version.ts:11
  • +
  • Defined in src/lib/utility/Global.ts:377
  • +
  • Defined in src/lib/utility/Global.ts:396
  • +
  • Defined in src/lib/utility/Global.ts:458
  • +
  • Defined in src/lib/utility/helpers.ts:9
  • +
  • Defined in src/lib/utility/helpers.ts:24
  • +
  • Defined in src/lib/utility/Global.ts:235
  • +
  • Defined in src/lib/utility/Global.ts:113
  • +
  • Defined in src/lib/utility/Global.ts:249
  • +
  • Defined in src/lib/utility/Global.ts:243
  • +
  • Defined in src/lib/utility/Global.ts:75
  • +
  • Defined in src/lib/utility/Global.ts:184
  • +
  • Defined in src/lib/utility/Global.ts:118
  • +
  • Defined in src/lib/utility/Global.ts:657
  • +
  • Defined in src/lib/utility/Global.ts:251
  • +
  • Defined in src/lib/utility/Global.ts:756
  • +
  • Defined in src/lib/utility/Global.ts:225
  • +
  • Defined in src/lib/utility/Global.ts:143
  • +
  • Defined in src/lib/utility/Global.ts:156
  • +
  • Defined in src/lib/utility/Global.ts:555
  • +
  • Defined in src/lib/utility/Global.ts:562
  • +
  • Defined in src/lib/utility/Global.ts:573
  • +
  • Defined in src/lib/utility/Global.ts:790
  • +
  • Defined in src/lib/utility/Global.ts:546
  • +
  • Defined in src/lib/utility/Global.ts:540
  • +
  • Defined in src/lib/utility/Global.ts:505
  • +
  • Defined in src/lib/utility/Global.ts:511
  • +
  • Defined in src/lib/utility/Global.ts:228
  • +
  • Defined in src/lib/utility/Global.ts:257
  • +
  • Defined in src/lib/utility/Global.ts:746
  • +
  • Defined in src/lib/utility/Global.ts:783
  • +
  • Defined in src/lib/utility/Global.ts:771
  • +
  • Defined in src/lib/utility/Global.ts:163
  • +
  • Defined in src/lib/utility/Global.ts:334
  • +
  • Defined in src/lib/utility/Global.ts:443
  • +
  • Defined in src/lib/utility/Global.ts:282
  • +
  • Defined in src/lib/utility/Global.ts:274
  • +
  • Defined in src/lib/utility/Global.ts:317
  • +
  • Defined in src/lib/utility/Global.ts:428
  • +
  • Defined in src/lib/utility/Global.ts:583
  • +
  • Defined in src/lib/utility/Global.ts:241
  • +
  • Defined in src/lib/utility/Global.ts:268
  • +
  • Defined in src/lib/utility/Global.ts:649
  • +
  • Defined in src/lib/utility/Global.ts:346
  • +
  • Defined in src/lib/utility/Global.ts:230
  • +
  • Defined in src/lib/utility/Global.ts:723
  • +
  • Defined in src/lib/utility/Global.ts:174
  • +
  • Defined in src/lib/utility/Global.ts:480
  • +
  • Defined in src/lib/utility/Global.ts:19
  • +
  • Defined in src/lib/utility/Global.ts:718
  • +
  • Defined in src/lib/utility/Global.ts:704
  • +
  • Defined in src/lib/utility/Global.ts:400
  • +
  • Defined in src/lib/utility/Global.ts:673
  • +
  • Defined in src/lib/utility/Global.ts:692
  • +
  • Defined in src/lib/utility/Global.ts:685
  • +
  • Defined in src/lib/utility/Global.ts:697
  • +
  • Defined in src/lib/utility/Global.ts:679
  • +
  • Defined in src/lib/utility/Global.ts:4
  • +
  • Defined in src/lib/utility/Global.ts:802
  • +
  • Defined in src/lib/utility/Global.ts:598
  • +
  • Defined in src/lib/utility/Global.ts:223
  • +
  • Defined in src/lib/utility/Global.ts:1
  • +
  • Defined in src/lib/utility/Global.ts:2