azure-kusto-ingest 6.0.2 → 7.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist-esm/src/abstractKustoClient.js +8 -15
  2. package/dist-esm/src/abstractKustoClient.js.map +1 -1
  3. package/dist-esm/src/columnMappings.js +22 -34
  4. package/dist-esm/src/columnMappings.js.map +1 -1
  5. package/dist-esm/src/descriptors.js +15 -27
  6. package/dist-esm/src/descriptors.js.map +1 -1
  7. package/dist-esm/src/errors.js +1 -5
  8. package/dist-esm/src/errors.js.map +1 -1
  9. package/dist-esm/src/fileDescriptor.browser.js +9 -16
  10. package/dist-esm/src/fileDescriptor.browser.js.map +1 -1
  11. package/dist-esm/src/fileDescriptor.js +20 -28
  12. package/dist-esm/src/fileDescriptor.js.map +1 -1
  13. package/dist-esm/src/index.js +38 -73
  14. package/dist-esm/src/index.js.map +1 -1
  15. package/dist-esm/src/ingestClient.browser.js +11 -15
  16. package/dist-esm/src/ingestClient.browser.js.map +1 -1
  17. package/dist-esm/src/ingestClient.js +11 -15
  18. package/dist-esm/src/ingestClient.js.map +1 -1
  19. package/dist-esm/src/ingestClientBase.js +25 -32
  20. package/dist-esm/src/ingestClientBase.js.map +1 -1
  21. package/dist-esm/src/ingestionBlobInfo.js +4 -8
  22. package/dist-esm/src/ingestionBlobInfo.js.map +1 -1
  23. package/dist-esm/src/ingestionProperties.js +29 -36
  24. package/dist-esm/src/ingestionProperties.js.map +1 -1
  25. package/dist-esm/src/ingestionResult.js +10 -17
  26. package/dist-esm/src/ingestionResult.js.map +1 -1
  27. package/dist-esm/src/managedStreamingIngestClient.js +29 -34
  28. package/dist-esm/src/managedStreamingIngestClient.js.map +1 -1
  29. package/dist-esm/src/rankedStorageAccount.js +1 -5
  30. package/dist-esm/src/rankedStorageAccount.js.map +1 -1
  31. package/dist-esm/src/rankedStorageAccountSet.js +3 -7
  32. package/dist-esm/src/rankedStorageAccountSet.js.map +1 -1
  33. package/dist-esm/src/resourceManager.js +24 -31
  34. package/dist-esm/src/resourceManager.js.map +1 -1
  35. package/dist-esm/src/retry.js +3 -8
  36. package/dist-esm/src/retry.js.map +1 -1
  37. package/dist-esm/src/status.js +6 -11
  38. package/dist-esm/src/status.js.map +1 -1
  39. package/dist-esm/src/statusQ.js +3 -7
  40. package/dist-esm/src/statusQ.js.map +1 -1
  41. package/dist-esm/src/streamUtils.browser.js +8 -15
  42. package/dist-esm/src/streamUtils.browser.js.map +1 -1
  43. package/dist-esm/src/streamUtils.js +18 -28
  44. package/dist-esm/src/streamUtils.js.map +1 -1
  45. package/dist-esm/src/streamingIngestClient.browser.js +9 -11
  46. package/dist-esm/src/streamingIngestClient.browser.js.map +1 -1
  47. package/dist-esm/src/streamingIngestClient.js +12 -17
  48. package/dist-esm/src/streamingIngestClient.js.map +1 -1
  49. package/dist-esm/src/streamingIngestClientBase.js +7 -11
  50. package/dist-esm/src/streamingIngestClientBase.js.map +1 -1
  51. package/package.json +11 -6
  52. package/types/src/abstractKustoClient.d.ts +2 -2
  53. package/types/src/columnMappings.d.ts +1 -1
  54. package/types/src/descriptors.d.ts +1 -2
  55. package/types/src/fileDescriptor.browser.d.ts +2 -2
  56. package/types/src/fileDescriptor.d.ts +2 -2
  57. package/types/src/index.d.ts +13 -13
  58. package/types/src/ingestClient.browser.d.ts +5 -5
  59. package/types/src/ingestClient.d.ts +5 -6
  60. package/types/src/ingestClientBase.d.ts +5 -5
  61. package/types/src/ingestionBlobInfo.d.ts +3 -3
  62. package/types/src/ingestionProperties.d.ts +1 -1
  63. package/types/src/managedStreamingIngestClient.d.ts +5 -6
  64. package/types/src/rankedStorageAccountSet.d.ts +1 -1
  65. package/types/src/status.d.ts +2 -2
  66. package/types/src/statusQ.d.ts +2 -2
  67. package/types/src/streamUtils.browser.d.ts +2 -3
  68. package/types/src/streamUtils.d.ts +2 -3
  69. package/types/src/streamingIngestClient.browser.d.ts +4 -4
  70. package/types/src/streamingIngestClient.d.ts +4 -5
  71. package/types/src/streamingIngestClientBase.d.ts +3 -3
@@ -1,11 +1,10 @@
1
- /// <reference types="node" />
2
- import { IngestionPropertiesInput } from "./ingestionProperties";
1
+ import { IngestionPropertiesInput } from "./ingestionProperties.js";
3
2
  import { KustoConnectionStringBuilder, KustoResponseDataSet } from "azure-kusto-data";
4
3
  import { Readable } from "stream";
5
- import { AbstractKustoClient } from "./abstractKustoClient";
6
- import { AbstractDescriptor, BlobDescriptor, StreamDescriptor } from "./descriptors";
7
- import { FileDescriptor } from "./fileDescriptor";
8
- import { IngestionResult } from "./ingestionResult";
4
+ import { AbstractKustoClient } from "./abstractKustoClient.js";
5
+ import { AbstractDescriptor, BlobDescriptor, StreamDescriptor } from "./descriptors.js";
6
+ import { FileDescriptor } from "./fileDescriptor.js";
7
+ import { IngestionResult } from "./ingestionResult.js";
9
8
  declare class KustoManagedStreamingIngestClient extends AbstractKustoClient {
10
9
  private streamingIngestClient;
11
10
  private queuedIngestClient;
@@ -1,4 +1,4 @@
1
- import { RankedStorageAccount } from "./rankedStorageAccount";
1
+ import { RankedStorageAccount } from "./rankedStorageAccount.js";
2
2
  export declare class RankedStorageAccountSet {
3
3
  private numberOfBuckets;
4
4
  private bucketDuration;
@@ -1,5 +1,5 @@
1
- import { StatusQueue } from "./statusQ";
2
- import KustoIngestClient from "./ingestClient";
1
+ import { StatusQueue } from "./statusQ.js";
2
+ import KustoIngestClient from "./ingestClient.js";
3
3
  export declare class StatusMessage {
4
4
  OperationId?: string;
5
5
  Database?: string;
@@ -1,6 +1,6 @@
1
1
  import { PeekedMessageItem, QueueClient } from "@azure/storage-queue";
2
- import { ResourceURI } from "./resourceManager";
3
- import { StatusMessage } from "./status";
2
+ import { ResourceURI } from "./resourceManager.js";
3
+ import { StatusMessage } from "./status.js";
4
4
  declare class QueueDetails {
5
5
  readonly name: string;
6
6
  readonly service: QueueClient;
@@ -1,6 +1,5 @@
1
- /// <reference types="node" />
2
- import { StreamDescriptor } from "./descriptors";
3
- import { FileDescriptor } from "./fileDescriptor.browser";
1
+ import { StreamDescriptor } from "./descriptors.js";
2
+ import { FileDescriptor } from "./fileDescriptor.browser.js";
4
3
  export declare const fileToStream: (file: FileDescriptor) => Promise<StreamDescriptor>;
5
4
  export declare const tryFileToBuffer: (file: FileDescriptor) => Promise<StreamDescriptor>;
6
5
  export declare const tryStreamToArray: (stream: any) => Promise<Buffer>;
@@ -1,7 +1,6 @@
1
- /// <reference types="node" />
2
1
  import { Readable } from "stream";
3
- import { StreamDescriptor } from "./descriptors";
4
- import { FileDescriptor } from "./fileDescriptor";
2
+ import { StreamDescriptor } from "./descriptors.js";
3
+ import { FileDescriptor } from "./fileDescriptor.js";
5
4
  export declare const fileToStream: (fileDescriptor: FileDescriptor) => Promise<StreamDescriptor>;
6
5
  export declare const tryFileToBuffer: (fileDescriptor: FileDescriptor) => Promise<StreamDescriptor>;
7
6
  export declare const tryStreamToArray: (stream: Readable, maxBufferSize: number) => Promise<Buffer | Readable>;
@@ -1,8 +1,8 @@
1
- import { IngestionPropertiesInput } from "./ingestionProperties";
1
+ import { IngestionPropertiesInput } from "./ingestionProperties.js";
2
2
  import { KustoConnectionStringBuilder, KustoResponseDataSet } from "azure-kusto-data";
3
- import { StreamDescriptor } from "./descriptors";
4
- import { FileDescriptor } from "./fileDescriptor.browser";
5
- import { KustoStreamingIngestClientBase } from "./streamingIngestClientBase";
3
+ import { StreamDescriptor } from "./descriptors.js";
4
+ import { FileDescriptor } from "./fileDescriptor.browser.js";
5
+ import { KustoStreamingIngestClientBase } from "./streamingIngestClientBase.js";
6
6
  declare class KustoStreamingIngestClient extends KustoStreamingIngestClientBase {
7
7
  constructor(kcsb: string | KustoConnectionStringBuilder, defaultProps?: IngestionPropertiesInput, autoCorrectEndpoint?: boolean);
8
8
  /**
@@ -1,10 +1,9 @@
1
- /// <reference types="node" />
2
- import { IngestionPropertiesInput } from "./ingestionProperties";
1
+ import { IngestionPropertiesInput } from "./ingestionProperties.js";
3
2
  import { KustoConnectionStringBuilder, KustoResponseDataSet } from "azure-kusto-data";
4
3
  import { Readable } from "stream";
5
- import { StreamDescriptor } from "./descriptors";
6
- import { FileDescriptor } from "./fileDescriptor";
7
- import { KustoStreamingIngestClientBase } from "./streamingIngestClientBase";
4
+ import { StreamDescriptor } from "./descriptors.js";
5
+ import { FileDescriptor } from "./fileDescriptor.js";
6
+ import { KustoStreamingIngestClientBase } from "./streamingIngestClientBase.js";
8
7
  declare class KustoStreamingIngestClient extends KustoStreamingIngestClientBase {
9
8
  constructor(kcsb: string | KustoConnectionStringBuilder, defaultProps?: IngestionPropertiesInput, autoCorrectEndpoint?: boolean);
10
9
  /**
@@ -1,6 +1,6 @@
1
- import { IngestionPropertiesInput } from "./ingestionProperties";
2
- import { BlobDescriptor } from "./descriptors";
3
- import { AbstractKustoClient } from "./abstractKustoClient";
1
+ import { IngestionPropertiesInput } from "./ingestionProperties.js";
2
+ import { BlobDescriptor } from "./descriptors.js";
3
+ import { AbstractKustoClient } from "./abstractKustoClient.js";
4
4
  import { Client as KustoClient, KustoConnectionStringBuilder } from "azure-kusto-data";
5
5
  export declare abstract class KustoStreamingIngestClientBase extends AbstractKustoClient {
6
6
  protected kustoClient: KustoClient;