@elasticdash/core 0.0.7 → 0.0.9
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.
- package/dist/index.cjs +1191 -1187
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +686 -686
- package/dist/index.d.ts +686 -686
- package/dist/index.mjs +1185 -1181
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -178,12 +178,12 @@ declare const configureGlobalLogger: (config: LoggerConfig) => void;
|
|
|
178
178
|
*/
|
|
179
179
|
declare const resetGlobalLogger: () => void;
|
|
180
180
|
|
|
181
|
-
type ElasticDashEnvVar = "ELASTICDASH_PUBLIC_KEY" | "ELASTICDASH_SECRET_KEY" | "ELASTICDASH_BASE_URL" | "ELASTICDASH_BASEURL" | "ELASTICDASH_TIMEOUT" | "ELASTICDASH_FLUSH_AT" | "ELASTICDASH_FLUSH_INTERVAL" | "ELASTICDASH_TRACING_ENVIRONMENT";
|
|
181
|
+
type ElasticDashEnvVar$1 = "ELASTICDASH_PUBLIC_KEY" | "ELASTICDASH_SECRET_KEY" | "ELASTICDASH_BASE_URL" | "ELASTICDASH_BASEURL" | "ELASTICDASH_TIMEOUT" | "ELASTICDASH_FLUSH_AT" | "ELASTICDASH_FLUSH_INTERVAL" | "ELASTICDASH_TRACING_ENVIRONMENT";
|
|
182
182
|
declare const ELASTICDASH_TRACER_NAME = "elasticdash-sdk";
|
|
183
183
|
declare const ELASTICDASH_SDK_VERSION: string;
|
|
184
184
|
declare const ELASTICDASH_SDK_NAME = "javascript";
|
|
185
185
|
declare const ELASTICDASH_SDK_EXPERIMENT_ENVIRONMENT = "sdk-experiment";
|
|
186
|
-
declare enum
|
|
186
|
+
declare enum ElasticDashOtelSpanAttributes {
|
|
187
187
|
TRACE_NAME = "elasticdash.trace.name",
|
|
188
188
|
TRACE_USER_ID = "user.id",
|
|
189
189
|
TRACE_SESSION_ID = "session.id",
|
|
@@ -1120,7 +1120,7 @@ interface Model {
|
|
|
1120
1120
|
tokenizerId: string | null;
|
|
1121
1121
|
/** Optional. Configuration for the selected tokenizer. Needs to be JSON. See docs for more details. */
|
|
1122
1122
|
tokenizerConfig?: unknown;
|
|
1123
|
-
|
|
1123
|
+
isElasticDashManaged: boolean;
|
|
1124
1124
|
/** Timestamp when the model was created */
|
|
1125
1125
|
createdAt: string;
|
|
1126
1126
|
/**
|
|
@@ -1510,7 +1510,7 @@ declare class HttpResponsePromise<T> extends Promise<T> {
|
|
|
1510
1510
|
* This file was auto-generated by Fern from our API Definition.
|
|
1511
1511
|
*/
|
|
1512
1512
|
|
|
1513
|
-
declare class
|
|
1513
|
+
declare class ElasticDashAPIError extends Error {
|
|
1514
1514
|
readonly statusCode?: number;
|
|
1515
1515
|
readonly body?: unknown;
|
|
1516
1516
|
readonly rawResponse?: RawResponse;
|
|
@@ -1525,7 +1525,7 @@ declare class LangfuseAPIError extends Error {
|
|
|
1525
1525
|
/**
|
|
1526
1526
|
* This file was auto-generated by Fern from our API Definition.
|
|
1527
1527
|
*/
|
|
1528
|
-
declare class
|
|
1528
|
+
declare class ElasticDashAPITimeoutError extends Error {
|
|
1529
1529
|
constructor(message: string);
|
|
1530
1530
|
}
|
|
1531
1531
|
|
|
@@ -1533,7 +1533,7 @@ declare class LangfuseAPITimeoutError extends Error {
|
|
|
1533
1533
|
* This file was auto-generated by Fern from our API Definition.
|
|
1534
1534
|
*/
|
|
1535
1535
|
|
|
1536
|
-
declare class Error$1 extends
|
|
1536
|
+
declare class Error$1 extends ElasticDashAPIError {
|
|
1537
1537
|
constructor(body?: unknown, rawResponse?: RawResponse);
|
|
1538
1538
|
}
|
|
1539
1539
|
|
|
@@ -1541,7 +1541,7 @@ declare class Error$1 extends LangfuseAPIError {
|
|
|
1541
1541
|
* This file was auto-generated by Fern from our API Definition.
|
|
1542
1542
|
*/
|
|
1543
1543
|
|
|
1544
|
-
declare class UnauthorizedError extends
|
|
1544
|
+
declare class UnauthorizedError extends ElasticDashAPIError {
|
|
1545
1545
|
constructor(body?: unknown, rawResponse?: RawResponse);
|
|
1546
1546
|
}
|
|
1547
1547
|
|
|
@@ -1549,7 +1549,7 @@ declare class UnauthorizedError extends LangfuseAPIError {
|
|
|
1549
1549
|
* This file was auto-generated by Fern from our API Definition.
|
|
1550
1550
|
*/
|
|
1551
1551
|
|
|
1552
|
-
declare class AccessDeniedError extends
|
|
1552
|
+
declare class AccessDeniedError extends ElasticDashAPIError {
|
|
1553
1553
|
constructor(body?: unknown, rawResponse?: RawResponse);
|
|
1554
1554
|
}
|
|
1555
1555
|
|
|
@@ -1557,7 +1557,7 @@ declare class AccessDeniedError extends LangfuseAPIError {
|
|
|
1557
1557
|
* This file was auto-generated by Fern from our API Definition.
|
|
1558
1558
|
*/
|
|
1559
1559
|
|
|
1560
|
-
declare class NotFoundError extends
|
|
1560
|
+
declare class NotFoundError extends ElasticDashAPIError {
|
|
1561
1561
|
constructor(body?: unknown, rawResponse?: RawResponse);
|
|
1562
1562
|
}
|
|
1563
1563
|
|
|
@@ -1565,7 +1565,7 @@ declare class NotFoundError extends LangfuseAPIError {
|
|
|
1565
1565
|
* This file was auto-generated by Fern from our API Definition.
|
|
1566
1566
|
*/
|
|
1567
1567
|
|
|
1568
|
-
declare class MethodNotAllowedError extends
|
|
1568
|
+
declare class MethodNotAllowedError extends ElasticDashAPIError {
|
|
1569
1569
|
constructor(body?: unknown, rawResponse?: RawResponse);
|
|
1570
1570
|
}
|
|
1571
1571
|
|
|
@@ -1825,7 +1825,7 @@ interface HealthResponse {
|
|
|
1825
1825
|
* This file was auto-generated by Fern from our API Definition.
|
|
1826
1826
|
*/
|
|
1827
1827
|
|
|
1828
|
-
declare class ServiceUnavailableError extends
|
|
1828
|
+
declare class ServiceUnavailableError extends ElasticDashAPIError {
|
|
1829
1829
|
constructor(rawResponse?: RawResponse);
|
|
1830
1830
|
}
|
|
1831
1831
|
|
|
@@ -2087,7 +2087,7 @@ interface SdkLogBody {
|
|
|
2087
2087
|
* {
|
|
2088
2088
|
* name: "consistency",
|
|
2089
2089
|
* value: 1.2,
|
|
2090
|
-
* dataType:
|
|
2090
|
+
* dataType: ElasticDashAPI.ScoreDataType.Numeric,
|
|
2091
2091
|
* traceId: "cdef-1234-5678-90ab"
|
|
2092
2092
|
* }
|
|
2093
2093
|
*
|
|
@@ -2095,7 +2095,7 @@ interface SdkLogBody {
|
|
|
2095
2095
|
* {
|
|
2096
2096
|
* name: "accuracy",
|
|
2097
2097
|
* value: 0.9,
|
|
2098
|
-
* dataType:
|
|
2098
|
+
* dataType: ElasticDashAPI.ScoreDataType.Numeric,
|
|
2099
2099
|
* configId: "9203-4567-89ab-cdef",
|
|
2100
2100
|
* traceId: "cdef-1234-5678-90ab"
|
|
2101
2101
|
* }
|
|
@@ -2111,7 +2111,7 @@ interface SdkLogBody {
|
|
|
2111
2111
|
* {
|
|
2112
2112
|
* name: "correctness",
|
|
2113
2113
|
* value: "partially correct",
|
|
2114
|
-
* dataType:
|
|
2114
|
+
* dataType: ElasticDashAPI.ScoreDataType.Categorical,
|
|
2115
2115
|
* configId: "1234-5678-90ab-cdef",
|
|
2116
2116
|
* traceId: "cdef-1234-5678-90ab"
|
|
2117
2117
|
* }
|
|
@@ -2120,7 +2120,7 @@ interface SdkLogBody {
|
|
|
2120
2120
|
* {
|
|
2121
2121
|
* name: "hallucination",
|
|
2122
2122
|
* value: 0,
|
|
2123
|
-
* dataType:
|
|
2123
|
+
* dataType: ElasticDashAPI.ScoreDataType.Boolean,
|
|
2124
2124
|
* traceId: "cdef-1234-5678-90ab"
|
|
2125
2125
|
* }
|
|
2126
2126
|
*
|
|
@@ -2128,7 +2128,7 @@ interface SdkLogBody {
|
|
|
2128
2128
|
* {
|
|
2129
2129
|
* name: "helpfulness",
|
|
2130
2130
|
* value: 1,
|
|
2131
|
-
* dataType:
|
|
2131
|
+
* dataType: ElasticDashAPI.ScoreDataType.Boolean,
|
|
2132
2132
|
* configId: "1234-5678-90ab-cdef",
|
|
2133
2133
|
* traceId: "cdef-1234-5678-90ab"
|
|
2134
2134
|
* }
|
|
@@ -4353,7 +4353,7 @@ declare namespace index$6 {
|
|
|
4353
4353
|
* {
|
|
4354
4354
|
* name: "consistency",
|
|
4355
4355
|
* value: 1.2,
|
|
4356
|
-
* dataType:
|
|
4356
|
+
* dataType: ElasticDashAPI.ScoreDataType.Numeric,
|
|
4357
4357
|
* traceId: "cdef-1234-5678-90ab"
|
|
4358
4358
|
* }
|
|
4359
4359
|
*
|
|
@@ -4361,7 +4361,7 @@ declare namespace index$6 {
|
|
|
4361
4361
|
* {
|
|
4362
4362
|
* name: "accuracy",
|
|
4363
4363
|
* value: 0.9,
|
|
4364
|
-
* dataType:
|
|
4364
|
+
* dataType: ElasticDashAPI.ScoreDataType.Numeric,
|
|
4365
4365
|
* configId: "9203-4567-89ab-cdef",
|
|
4366
4366
|
* traceId: "cdef-1234-5678-90ab",
|
|
4367
4367
|
* environment: "test"
|
|
@@ -4379,7 +4379,7 @@ declare namespace index$6 {
|
|
|
4379
4379
|
* {
|
|
4380
4380
|
* name: "correctness",
|
|
4381
4381
|
* value: "partially correct",
|
|
4382
|
-
* dataType:
|
|
4382
|
+
* dataType: ElasticDashAPI.ScoreDataType.Categorical,
|
|
4383
4383
|
* configId: "1234-5678-90ab-cdef",
|
|
4384
4384
|
* traceId: "cdef-1234-5678-90ab"
|
|
4385
4385
|
* }
|
|
@@ -4388,7 +4388,7 @@ declare namespace index$6 {
|
|
|
4388
4388
|
* {
|
|
4389
4389
|
* name: "hallucination",
|
|
4390
4390
|
* value: 0,
|
|
4391
|
-
* dataType:
|
|
4391
|
+
* dataType: ElasticDashAPI.ScoreDataType.Boolean,
|
|
4392
4392
|
* traceId: "cdef-1234-5678-90ab"
|
|
4393
4393
|
* }
|
|
4394
4394
|
*
|
|
@@ -4396,7 +4396,7 @@ declare namespace index$6 {
|
|
|
4396
4396
|
* {
|
|
4397
4397
|
* name: "helpfulness",
|
|
4398
4398
|
* value: 1,
|
|
4399
|
-
* dataType:
|
|
4399
|
+
* dataType: ElasticDashAPI.ScoreDataType.Boolean,
|
|
4400
4400
|
* configId: "1234-5678-90ab-cdef",
|
|
4401
4401
|
* traceId: "cdef-1234-5678-90ab"
|
|
4402
4402
|
* }
|
|
@@ -4713,11 +4713,11 @@ declare namespace AnnotationQueues {
|
|
|
4713
4713
|
username?: Supplier<string | undefined>;
|
|
4714
4714
|
password?: Supplier<string | undefined>;
|
|
4715
4715
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
4716
|
-
|
|
4716
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
4717
4717
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
4718
|
-
|
|
4718
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
4719
4719
|
/** Override the X-ElasticDash-Public-Key header */
|
|
4720
|
-
|
|
4720
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
4721
4721
|
/** Additional headers to include in requests. */
|
|
4722
4722
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
4723
4723
|
}
|
|
@@ -4729,11 +4729,11 @@ declare namespace AnnotationQueues {
|
|
|
4729
4729
|
/** A hook to abort the request. */
|
|
4730
4730
|
abortSignal?: AbortSignal;
|
|
4731
4731
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
4732
|
-
|
|
4732
|
+
xElasticDashSdkName?: string | undefined;
|
|
4733
4733
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
4734
|
-
|
|
4734
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
4735
4735
|
/** Override the X-ElasticDash-Public-Key header */
|
|
4736
|
-
|
|
4736
|
+
xElasticDashPublicKey?: string | undefined;
|
|
4737
4737
|
/** Additional query string parameters to include in the request. */
|
|
4738
4738
|
queryParams?: Record<string, unknown>;
|
|
4739
4739
|
/** Additional headers to include in the request. */
|
|
@@ -4746,14 +4746,14 @@ declare class AnnotationQueues {
|
|
|
4746
4746
|
/**
|
|
4747
4747
|
* Get all annotation queues
|
|
4748
4748
|
*
|
|
4749
|
-
* @param {
|
|
4749
|
+
* @param {ElasticDashAPI.GetAnnotationQueuesRequest} request
|
|
4750
4750
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4751
4751
|
*
|
|
4752
|
-
* @throws {@link
|
|
4753
|
-
* @throws {@link
|
|
4754
|
-
* @throws {@link
|
|
4755
|
-
* @throws {@link
|
|
4756
|
-
* @throws {@link
|
|
4752
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4753
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4754
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4755
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4756
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4757
4757
|
*
|
|
4758
4758
|
* @example
|
|
4759
4759
|
* await client.annotationQueues.listQueues()
|
|
@@ -4763,14 +4763,14 @@ declare class AnnotationQueues {
|
|
|
4763
4763
|
/**
|
|
4764
4764
|
* Create an annotation queue
|
|
4765
4765
|
*
|
|
4766
|
-
* @param {
|
|
4766
|
+
* @param {ElasticDashAPI.CreateAnnotationQueueRequest} request
|
|
4767
4767
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4768
4768
|
*
|
|
4769
|
-
* @throws {@link
|
|
4770
|
-
* @throws {@link
|
|
4771
|
-
* @throws {@link
|
|
4772
|
-
* @throws {@link
|
|
4773
|
-
* @throws {@link
|
|
4769
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4770
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4771
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4772
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4773
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4774
4774
|
*
|
|
4775
4775
|
* @example
|
|
4776
4776
|
* await client.annotationQueues.createQueue({
|
|
@@ -4787,11 +4787,11 @@ declare class AnnotationQueues {
|
|
|
4787
4787
|
* @param {string} queueId - The unique identifier of the annotation queue
|
|
4788
4788
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4789
4789
|
*
|
|
4790
|
-
* @throws {@link
|
|
4791
|
-
* @throws {@link
|
|
4792
|
-
* @throws {@link
|
|
4793
|
-
* @throws {@link
|
|
4794
|
-
* @throws {@link
|
|
4790
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4791
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4792
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4793
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4794
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4795
4795
|
*
|
|
4796
4796
|
* @example
|
|
4797
4797
|
* await client.annotationQueues.getQueue("queueId")
|
|
@@ -4802,14 +4802,14 @@ declare class AnnotationQueues {
|
|
|
4802
4802
|
* Get items for a specific annotation queue
|
|
4803
4803
|
*
|
|
4804
4804
|
* @param {string} queueId - The unique identifier of the annotation queue
|
|
4805
|
-
* @param {
|
|
4805
|
+
* @param {ElasticDashAPI.GetAnnotationQueueItemsRequest} request
|
|
4806
4806
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4807
4807
|
*
|
|
4808
|
-
* @throws {@link
|
|
4809
|
-
* @throws {@link
|
|
4810
|
-
* @throws {@link
|
|
4811
|
-
* @throws {@link
|
|
4812
|
-
* @throws {@link
|
|
4808
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4809
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4810
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4811
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4812
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4813
4813
|
*
|
|
4814
4814
|
* @example
|
|
4815
4815
|
* await client.annotationQueues.listQueueItems("queueId")
|
|
@@ -4823,11 +4823,11 @@ declare class AnnotationQueues {
|
|
|
4823
4823
|
* @param {string} itemId - The unique identifier of the annotation queue item
|
|
4824
4824
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4825
4825
|
*
|
|
4826
|
-
* @throws {@link
|
|
4827
|
-
* @throws {@link
|
|
4828
|
-
* @throws {@link
|
|
4829
|
-
* @throws {@link
|
|
4830
|
-
* @throws {@link
|
|
4826
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4827
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4828
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4829
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4830
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4831
4831
|
*
|
|
4832
4832
|
* @example
|
|
4833
4833
|
* await client.annotationQueues.getQueueItem("queueId", "itemId")
|
|
@@ -4838,14 +4838,14 @@ declare class AnnotationQueues {
|
|
|
4838
4838
|
* Add an item to an annotation queue
|
|
4839
4839
|
*
|
|
4840
4840
|
* @param {string} queueId - The unique identifier of the annotation queue
|
|
4841
|
-
* @param {
|
|
4841
|
+
* @param {ElasticDashAPI.CreateAnnotationQueueItemRequest} request
|
|
4842
4842
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4843
4843
|
*
|
|
4844
|
-
* @throws {@link
|
|
4845
|
-
* @throws {@link
|
|
4846
|
-
* @throws {@link
|
|
4847
|
-
* @throws {@link
|
|
4848
|
-
* @throws {@link
|
|
4844
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4845
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4846
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4847
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4848
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4849
4849
|
*
|
|
4850
4850
|
* @example
|
|
4851
4851
|
* await client.annotationQueues.createQueueItem("queueId", {
|
|
@@ -4861,14 +4861,14 @@ declare class AnnotationQueues {
|
|
|
4861
4861
|
*
|
|
4862
4862
|
* @param {string} queueId - The unique identifier of the annotation queue
|
|
4863
4863
|
* @param {string} itemId - The unique identifier of the annotation queue item
|
|
4864
|
-
* @param {
|
|
4864
|
+
* @param {ElasticDashAPI.UpdateAnnotationQueueItemRequest} request
|
|
4865
4865
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4866
4866
|
*
|
|
4867
|
-
* @throws {@link
|
|
4868
|
-
* @throws {@link
|
|
4869
|
-
* @throws {@link
|
|
4870
|
-
* @throws {@link
|
|
4871
|
-
* @throws {@link
|
|
4867
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4868
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4869
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4870
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4871
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4872
4872
|
*
|
|
4873
4873
|
* @example
|
|
4874
4874
|
* await client.annotationQueues.updateQueueItem("queueId", "itemId", {
|
|
@@ -4884,11 +4884,11 @@ declare class AnnotationQueues {
|
|
|
4884
4884
|
* @param {string} itemId - The unique identifier of the annotation queue item
|
|
4885
4885
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4886
4886
|
*
|
|
4887
|
-
* @throws {@link
|
|
4888
|
-
* @throws {@link
|
|
4889
|
-
* @throws {@link
|
|
4890
|
-
* @throws {@link
|
|
4891
|
-
* @throws {@link
|
|
4887
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4888
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4889
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4890
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4891
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4892
4892
|
*
|
|
4893
4893
|
* @example
|
|
4894
4894
|
* await client.annotationQueues.deleteQueueItem("queueId", "itemId")
|
|
@@ -4899,14 +4899,14 @@ declare class AnnotationQueues {
|
|
|
4899
4899
|
* Create an assignment for a user to an annotation queue
|
|
4900
4900
|
*
|
|
4901
4901
|
* @param {string} queueId - The unique identifier of the annotation queue
|
|
4902
|
-
* @param {
|
|
4902
|
+
* @param {ElasticDashAPI.AnnotationQueueAssignmentRequest} request
|
|
4903
4903
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4904
4904
|
*
|
|
4905
|
-
* @throws {@link
|
|
4906
|
-
* @throws {@link
|
|
4907
|
-
* @throws {@link
|
|
4908
|
-
* @throws {@link
|
|
4909
|
-
* @throws {@link
|
|
4905
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4906
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4907
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4908
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4909
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4910
4910
|
*
|
|
4911
4911
|
* @example
|
|
4912
4912
|
* await client.annotationQueues.createQueueAssignment("queueId", {
|
|
@@ -4919,14 +4919,14 @@ declare class AnnotationQueues {
|
|
|
4919
4919
|
* Delete an assignment for a user to an annotation queue
|
|
4920
4920
|
*
|
|
4921
4921
|
* @param {string} queueId - The unique identifier of the annotation queue
|
|
4922
|
-
* @param {
|
|
4922
|
+
* @param {ElasticDashAPI.AnnotationQueueAssignmentRequest} request
|
|
4923
4923
|
* @param {AnnotationQueues.RequestOptions} requestOptions - Request-specific configuration.
|
|
4924
4924
|
*
|
|
4925
|
-
* @throws {@link
|
|
4926
|
-
* @throws {@link
|
|
4927
|
-
* @throws {@link
|
|
4928
|
-
* @throws {@link
|
|
4929
|
-
* @throws {@link
|
|
4925
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4926
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4927
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4928
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4929
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4930
4930
|
*
|
|
4931
4931
|
* @example
|
|
4932
4932
|
* await client.annotationQueues.deleteQueueAssignment("queueId", {
|
|
@@ -4950,11 +4950,11 @@ declare namespace BlobStorageIntegrations {
|
|
|
4950
4950
|
username?: Supplier<string | undefined>;
|
|
4951
4951
|
password?: Supplier<string | undefined>;
|
|
4952
4952
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
4953
|
-
|
|
4953
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
4954
4954
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
4955
|
-
|
|
4955
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
4956
4956
|
/** Override the X-ElasticDash-Public-Key header */
|
|
4957
|
-
|
|
4957
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
4958
4958
|
/** Additional headers to include in requests. */
|
|
4959
4959
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
4960
4960
|
}
|
|
@@ -4966,11 +4966,11 @@ declare namespace BlobStorageIntegrations {
|
|
|
4966
4966
|
/** A hook to abort the request. */
|
|
4967
4967
|
abortSignal?: AbortSignal;
|
|
4968
4968
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
4969
|
-
|
|
4969
|
+
xElasticDashSdkName?: string | undefined;
|
|
4970
4970
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
4971
|
-
|
|
4971
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
4972
4972
|
/** Override the X-ElasticDash-Public-Key header */
|
|
4973
|
-
|
|
4973
|
+
xElasticDashPublicKey?: string | undefined;
|
|
4974
4974
|
/** Additional query string parameters to include in the request. */
|
|
4975
4975
|
queryParams?: Record<string, unknown>;
|
|
4976
4976
|
/** Additional headers to include in the request. */
|
|
@@ -4985,11 +4985,11 @@ declare class BlobStorageIntegrations {
|
|
|
4985
4985
|
*
|
|
4986
4986
|
* @param {BlobStorageIntegrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
4987
4987
|
*
|
|
4988
|
-
* @throws {@link
|
|
4989
|
-
* @throws {@link
|
|
4990
|
-
* @throws {@link
|
|
4991
|
-
* @throws {@link
|
|
4992
|
-
* @throws {@link
|
|
4988
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
4989
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
4990
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
4991
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
4992
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
4993
4993
|
*
|
|
4994
4994
|
* @example
|
|
4995
4995
|
* await client.blobStorageIntegrations.getBlobStorageIntegrations()
|
|
@@ -4999,14 +4999,14 @@ declare class BlobStorageIntegrations {
|
|
|
4999
4999
|
/**
|
|
5000
5000
|
* Create or update a blob storage integration for a specific project (requires organization-scoped API key). The configuration is validated by performing a test upload to the bucket.
|
|
5001
5001
|
*
|
|
5002
|
-
* @param {
|
|
5002
|
+
* @param {ElasticDashAPI.CreateBlobStorageIntegrationRequest} request
|
|
5003
5003
|
* @param {BlobStorageIntegrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
5004
5004
|
*
|
|
5005
|
-
* @throws {@link
|
|
5006
|
-
* @throws {@link
|
|
5007
|
-
* @throws {@link
|
|
5008
|
-
* @throws {@link
|
|
5009
|
-
* @throws {@link
|
|
5005
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5006
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5007
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5008
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5009
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5010
5010
|
*
|
|
5011
5011
|
* @example
|
|
5012
5012
|
* await client.blobStorageIntegrations.upsertBlobStorageIntegration({
|
|
@@ -5034,11 +5034,11 @@ declare class BlobStorageIntegrations {
|
|
|
5034
5034
|
* @param {string} id
|
|
5035
5035
|
* @param {BlobStorageIntegrations.RequestOptions} requestOptions - Request-specific configuration.
|
|
5036
5036
|
*
|
|
5037
|
-
* @throws {@link
|
|
5038
|
-
* @throws {@link
|
|
5039
|
-
* @throws {@link
|
|
5040
|
-
* @throws {@link
|
|
5041
|
-
* @throws {@link
|
|
5037
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5038
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5039
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5040
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5041
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5042
5042
|
*
|
|
5043
5043
|
* @example
|
|
5044
5044
|
* await client.blobStorageIntegrations.deleteBlobStorageIntegration("id")
|
|
@@ -5060,11 +5060,11 @@ declare namespace Comments {
|
|
|
5060
5060
|
username?: Supplier<string | undefined>;
|
|
5061
5061
|
password?: Supplier<string | undefined>;
|
|
5062
5062
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5063
|
-
|
|
5063
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
5064
5064
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5065
|
-
|
|
5065
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
5066
5066
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5067
|
-
|
|
5067
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
5068
5068
|
/** Additional headers to include in requests. */
|
|
5069
5069
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
5070
5070
|
}
|
|
@@ -5076,11 +5076,11 @@ declare namespace Comments {
|
|
|
5076
5076
|
/** A hook to abort the request. */
|
|
5077
5077
|
abortSignal?: AbortSignal;
|
|
5078
5078
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5079
|
-
|
|
5079
|
+
xElasticDashSdkName?: string | undefined;
|
|
5080
5080
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5081
|
-
|
|
5081
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
5082
5082
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5083
|
-
|
|
5083
|
+
xElasticDashPublicKey?: string | undefined;
|
|
5084
5084
|
/** Additional query string parameters to include in the request. */
|
|
5085
5085
|
queryParams?: Record<string, unknown>;
|
|
5086
5086
|
/** Additional headers to include in the request. */
|
|
@@ -5093,14 +5093,14 @@ declare class Comments {
|
|
|
5093
5093
|
/**
|
|
5094
5094
|
* Create a comment. Comments may be attached to different object types (trace, observation, session, prompt).
|
|
5095
5095
|
*
|
|
5096
|
-
* @param {
|
|
5096
|
+
* @param {ElasticDashAPI.CreateCommentRequest} request
|
|
5097
5097
|
* @param {Comments.RequestOptions} requestOptions - Request-specific configuration.
|
|
5098
5098
|
*
|
|
5099
|
-
* @throws {@link
|
|
5100
|
-
* @throws {@link
|
|
5101
|
-
* @throws {@link
|
|
5102
|
-
* @throws {@link
|
|
5103
|
-
* @throws {@link
|
|
5099
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5100
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5101
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5102
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5103
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5104
5104
|
*
|
|
5105
5105
|
* @example
|
|
5106
5106
|
* await client.comments.create({
|
|
@@ -5116,14 +5116,14 @@ declare class Comments {
|
|
|
5116
5116
|
/**
|
|
5117
5117
|
* Get all comments
|
|
5118
5118
|
*
|
|
5119
|
-
* @param {
|
|
5119
|
+
* @param {ElasticDashAPI.GetCommentsRequest} request
|
|
5120
5120
|
* @param {Comments.RequestOptions} requestOptions - Request-specific configuration.
|
|
5121
5121
|
*
|
|
5122
|
-
* @throws {@link
|
|
5123
|
-
* @throws {@link
|
|
5124
|
-
* @throws {@link
|
|
5125
|
-
* @throws {@link
|
|
5126
|
-
* @throws {@link
|
|
5122
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5123
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5124
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5125
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5126
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5127
5127
|
*
|
|
5128
5128
|
* @example
|
|
5129
5129
|
* await client.comments.get()
|
|
@@ -5136,11 +5136,11 @@ declare class Comments {
|
|
|
5136
5136
|
* @param {string} commentId - The unique elasticdash identifier of a comment
|
|
5137
5137
|
* @param {Comments.RequestOptions} requestOptions - Request-specific configuration.
|
|
5138
5138
|
*
|
|
5139
|
-
* @throws {@link
|
|
5140
|
-
* @throws {@link
|
|
5141
|
-
* @throws {@link
|
|
5142
|
-
* @throws {@link
|
|
5143
|
-
* @throws {@link
|
|
5139
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5140
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5141
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5142
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5143
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5144
5144
|
*
|
|
5145
5145
|
* @example
|
|
5146
5146
|
* await client.comments.getById("commentId")
|
|
@@ -5162,11 +5162,11 @@ declare namespace DatasetItems {
|
|
|
5162
5162
|
username?: Supplier<string | undefined>;
|
|
5163
5163
|
password?: Supplier<string | undefined>;
|
|
5164
5164
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5165
|
-
|
|
5165
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
5166
5166
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5167
|
-
|
|
5167
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
5168
5168
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5169
|
-
|
|
5169
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
5170
5170
|
/** Additional headers to include in requests. */
|
|
5171
5171
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
5172
5172
|
}
|
|
@@ -5178,11 +5178,11 @@ declare namespace DatasetItems {
|
|
|
5178
5178
|
/** A hook to abort the request. */
|
|
5179
5179
|
abortSignal?: AbortSignal;
|
|
5180
5180
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5181
|
-
|
|
5181
|
+
xElasticDashSdkName?: string | undefined;
|
|
5182
5182
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5183
|
-
|
|
5183
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
5184
5184
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5185
|
-
|
|
5185
|
+
xElasticDashPublicKey?: string | undefined;
|
|
5186
5186
|
/** Additional query string parameters to include in the request. */
|
|
5187
5187
|
queryParams?: Record<string, unknown>;
|
|
5188
5188
|
/** Additional headers to include in the request. */
|
|
@@ -5195,14 +5195,14 @@ declare class DatasetItems {
|
|
|
5195
5195
|
/**
|
|
5196
5196
|
* Create a dataset item
|
|
5197
5197
|
*
|
|
5198
|
-
* @param {
|
|
5198
|
+
* @param {ElasticDashAPI.CreateDatasetItemRequest} request
|
|
5199
5199
|
* @param {DatasetItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
5200
5200
|
*
|
|
5201
|
-
* @throws {@link
|
|
5202
|
-
* @throws {@link
|
|
5203
|
-
* @throws {@link
|
|
5204
|
-
* @throws {@link
|
|
5205
|
-
* @throws {@link
|
|
5201
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5202
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5203
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5204
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5205
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5206
5206
|
*
|
|
5207
5207
|
* @example
|
|
5208
5208
|
* await client.datasetItems.create({
|
|
@@ -5224,11 +5224,11 @@ declare class DatasetItems {
|
|
|
5224
5224
|
* @param {string} id
|
|
5225
5225
|
* @param {DatasetItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
5226
5226
|
*
|
|
5227
|
-
* @throws {@link
|
|
5228
|
-
* @throws {@link
|
|
5229
|
-
* @throws {@link
|
|
5230
|
-
* @throws {@link
|
|
5231
|
-
* @throws {@link
|
|
5227
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5228
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5229
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5230
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5231
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5232
5232
|
*
|
|
5233
5233
|
* @example
|
|
5234
5234
|
* await client.datasetItems.get("id")
|
|
@@ -5238,14 +5238,14 @@ declare class DatasetItems {
|
|
|
5238
5238
|
/**
|
|
5239
5239
|
* Get dataset items
|
|
5240
5240
|
*
|
|
5241
|
-
* @param {
|
|
5241
|
+
* @param {ElasticDashAPI.GetDatasetItemsRequest} request
|
|
5242
5242
|
* @param {DatasetItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
5243
5243
|
*
|
|
5244
|
-
* @throws {@link
|
|
5245
|
-
* @throws {@link
|
|
5246
|
-
* @throws {@link
|
|
5247
|
-
* @throws {@link
|
|
5248
|
-
* @throws {@link
|
|
5244
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5245
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5246
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5247
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5248
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5249
5249
|
*
|
|
5250
5250
|
* @example
|
|
5251
5251
|
* await client.datasetItems.list()
|
|
@@ -5258,11 +5258,11 @@ declare class DatasetItems {
|
|
|
5258
5258
|
* @param {string} id
|
|
5259
5259
|
* @param {DatasetItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
5260
5260
|
*
|
|
5261
|
-
* @throws {@link
|
|
5262
|
-
* @throws {@link
|
|
5263
|
-
* @throws {@link
|
|
5264
|
-
* @throws {@link
|
|
5265
|
-
* @throws {@link
|
|
5261
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5262
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5263
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5264
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5265
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5266
5266
|
*
|
|
5267
5267
|
* @example
|
|
5268
5268
|
* await client.datasetItems.delete("id")
|
|
@@ -5284,11 +5284,11 @@ declare namespace DatasetRunItems {
|
|
|
5284
5284
|
username?: Supplier<string | undefined>;
|
|
5285
5285
|
password?: Supplier<string | undefined>;
|
|
5286
5286
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5287
|
-
|
|
5287
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
5288
5288
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5289
|
-
|
|
5289
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
5290
5290
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5291
|
-
|
|
5291
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
5292
5292
|
/** Additional headers to include in requests. */
|
|
5293
5293
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
5294
5294
|
}
|
|
@@ -5300,11 +5300,11 @@ declare namespace DatasetRunItems {
|
|
|
5300
5300
|
/** A hook to abort the request. */
|
|
5301
5301
|
abortSignal?: AbortSignal;
|
|
5302
5302
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5303
|
-
|
|
5303
|
+
xElasticDashSdkName?: string | undefined;
|
|
5304
5304
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5305
|
-
|
|
5305
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
5306
5306
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5307
|
-
|
|
5307
|
+
xElasticDashPublicKey?: string | undefined;
|
|
5308
5308
|
/** Additional query string parameters to include in the request. */
|
|
5309
5309
|
queryParams?: Record<string, unknown>;
|
|
5310
5310
|
/** Additional headers to include in the request. */
|
|
@@ -5317,14 +5317,14 @@ declare class DatasetRunItems {
|
|
|
5317
5317
|
/**
|
|
5318
5318
|
* Create a dataset run item
|
|
5319
5319
|
*
|
|
5320
|
-
* @param {
|
|
5320
|
+
* @param {ElasticDashAPI.CreateDatasetRunItemRequest} request
|
|
5321
5321
|
* @param {DatasetRunItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
5322
5322
|
*
|
|
5323
|
-
* @throws {@link
|
|
5324
|
-
* @throws {@link
|
|
5325
|
-
* @throws {@link
|
|
5326
|
-
* @throws {@link
|
|
5327
|
-
* @throws {@link
|
|
5323
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5324
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5325
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5326
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5327
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5328
5328
|
*
|
|
5329
5329
|
* @example
|
|
5330
5330
|
* await client.datasetRunItems.create({
|
|
@@ -5341,14 +5341,14 @@ declare class DatasetRunItems {
|
|
|
5341
5341
|
/**
|
|
5342
5342
|
* List dataset run items
|
|
5343
5343
|
*
|
|
5344
|
-
* @param {
|
|
5344
|
+
* @param {ElasticDashAPI.ListDatasetRunItemsRequest} request
|
|
5345
5345
|
* @param {DatasetRunItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
5346
5346
|
*
|
|
5347
|
-
* @throws {@link
|
|
5348
|
-
* @throws {@link
|
|
5349
|
-
* @throws {@link
|
|
5350
|
-
* @throws {@link
|
|
5351
|
-
* @throws {@link
|
|
5347
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5348
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5349
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5350
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5351
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5352
5352
|
*
|
|
5353
5353
|
* @example
|
|
5354
5354
|
* await client.datasetRunItems.list({
|
|
@@ -5373,11 +5373,11 @@ declare namespace Datasets {
|
|
|
5373
5373
|
username?: Supplier<string | undefined>;
|
|
5374
5374
|
password?: Supplier<string | undefined>;
|
|
5375
5375
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5376
|
-
|
|
5376
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
5377
5377
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5378
|
-
|
|
5378
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
5379
5379
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5380
|
-
|
|
5380
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
5381
5381
|
/** Additional headers to include in requests. */
|
|
5382
5382
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
5383
5383
|
}
|
|
@@ -5389,11 +5389,11 @@ declare namespace Datasets {
|
|
|
5389
5389
|
/** A hook to abort the request. */
|
|
5390
5390
|
abortSignal?: AbortSignal;
|
|
5391
5391
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5392
|
-
|
|
5392
|
+
xElasticDashSdkName?: string | undefined;
|
|
5393
5393
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5394
|
-
|
|
5394
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
5395
5395
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5396
|
-
|
|
5396
|
+
xElasticDashPublicKey?: string | undefined;
|
|
5397
5397
|
/** Additional query string parameters to include in the request. */
|
|
5398
5398
|
queryParams?: Record<string, unknown>;
|
|
5399
5399
|
/** Additional headers to include in the request. */
|
|
@@ -5406,14 +5406,14 @@ declare class Datasets {
|
|
|
5406
5406
|
/**
|
|
5407
5407
|
* Get all datasets
|
|
5408
5408
|
*
|
|
5409
|
-
* @param {
|
|
5409
|
+
* @param {ElasticDashAPI.GetDatasetsRequest} request
|
|
5410
5410
|
* @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
|
|
5411
5411
|
*
|
|
5412
|
-
* @throws {@link
|
|
5413
|
-
* @throws {@link
|
|
5414
|
-
* @throws {@link
|
|
5415
|
-
* @throws {@link
|
|
5416
|
-
* @throws {@link
|
|
5412
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5413
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5414
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5415
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5416
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5417
5417
|
*
|
|
5418
5418
|
* @example
|
|
5419
5419
|
* await client.datasets.list()
|
|
@@ -5426,11 +5426,11 @@ declare class Datasets {
|
|
|
5426
5426
|
* @param {string} datasetName
|
|
5427
5427
|
* @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
|
|
5428
5428
|
*
|
|
5429
|
-
* @throws {@link
|
|
5430
|
-
* @throws {@link
|
|
5431
|
-
* @throws {@link
|
|
5432
|
-
* @throws {@link
|
|
5433
|
-
* @throws {@link
|
|
5429
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5430
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5431
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5432
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5433
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5434
5434
|
*
|
|
5435
5435
|
* @example
|
|
5436
5436
|
* await client.datasets.get("datasetName")
|
|
@@ -5440,14 +5440,14 @@ declare class Datasets {
|
|
|
5440
5440
|
/**
|
|
5441
5441
|
* Create a dataset
|
|
5442
5442
|
*
|
|
5443
|
-
* @param {
|
|
5443
|
+
* @param {ElasticDashAPI.CreateDatasetRequest} request
|
|
5444
5444
|
* @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
|
|
5445
5445
|
*
|
|
5446
|
-
* @throws {@link
|
|
5447
|
-
* @throws {@link
|
|
5448
|
-
* @throws {@link
|
|
5449
|
-
* @throws {@link
|
|
5450
|
-
* @throws {@link
|
|
5446
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5447
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5448
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5449
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5450
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5451
5451
|
*
|
|
5452
5452
|
* @example
|
|
5453
5453
|
* await client.datasets.create({
|
|
@@ -5467,11 +5467,11 @@ declare class Datasets {
|
|
|
5467
5467
|
* @param {string} runName
|
|
5468
5468
|
* @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
|
|
5469
5469
|
*
|
|
5470
|
-
* @throws {@link
|
|
5471
|
-
* @throws {@link
|
|
5472
|
-
* @throws {@link
|
|
5473
|
-
* @throws {@link
|
|
5474
|
-
* @throws {@link
|
|
5470
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5471
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5472
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5473
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5474
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5475
5475
|
*
|
|
5476
5476
|
* @example
|
|
5477
5477
|
* await client.datasets.getRun("datasetName", "runName")
|
|
@@ -5485,11 +5485,11 @@ declare class Datasets {
|
|
|
5485
5485
|
* @param {string} runName
|
|
5486
5486
|
* @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
|
|
5487
5487
|
*
|
|
5488
|
-
* @throws {@link
|
|
5489
|
-
* @throws {@link
|
|
5490
|
-
* @throws {@link
|
|
5491
|
-
* @throws {@link
|
|
5492
|
-
* @throws {@link
|
|
5488
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5489
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5490
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5491
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5492
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5493
5493
|
*
|
|
5494
5494
|
* @example
|
|
5495
5495
|
* await client.datasets.deleteRun("datasetName", "runName")
|
|
@@ -5500,14 +5500,14 @@ declare class Datasets {
|
|
|
5500
5500
|
* Get dataset runs
|
|
5501
5501
|
*
|
|
5502
5502
|
* @param {string} datasetName
|
|
5503
|
-
* @param {
|
|
5503
|
+
* @param {ElasticDashAPI.GetDatasetRunsRequest} request
|
|
5504
5504
|
* @param {Datasets.RequestOptions} requestOptions - Request-specific configuration.
|
|
5505
5505
|
*
|
|
5506
|
-
* @throws {@link
|
|
5507
|
-
* @throws {@link
|
|
5508
|
-
* @throws {@link
|
|
5509
|
-
* @throws {@link
|
|
5510
|
-
* @throws {@link
|
|
5506
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5507
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5508
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5509
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5510
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5511
5511
|
*
|
|
5512
5512
|
* @example
|
|
5513
5513
|
* await client.datasets.getRuns("datasetName")
|
|
@@ -5529,11 +5529,11 @@ declare namespace Health {
|
|
|
5529
5529
|
username?: Supplier<string | undefined>;
|
|
5530
5530
|
password?: Supplier<string | undefined>;
|
|
5531
5531
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5532
|
-
|
|
5532
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
5533
5533
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5534
|
-
|
|
5534
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
5535
5535
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5536
|
-
|
|
5536
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
5537
5537
|
/** Additional headers to include in requests. */
|
|
5538
5538
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
5539
5539
|
}
|
|
@@ -5545,11 +5545,11 @@ declare namespace Health {
|
|
|
5545
5545
|
/** A hook to abort the request. */
|
|
5546
5546
|
abortSignal?: AbortSignal;
|
|
5547
5547
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5548
|
-
|
|
5548
|
+
xElasticDashSdkName?: string | undefined;
|
|
5549
5549
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5550
|
-
|
|
5550
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
5551
5551
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5552
|
-
|
|
5552
|
+
xElasticDashPublicKey?: string | undefined;
|
|
5553
5553
|
/** Additional query string parameters to include in the request. */
|
|
5554
5554
|
queryParams?: Record<string, unknown>;
|
|
5555
5555
|
/** Additional headers to include in the request. */
|
|
@@ -5564,12 +5564,12 @@ declare class Health {
|
|
|
5564
5564
|
*
|
|
5565
5565
|
* @param {Health.RequestOptions} requestOptions - Request-specific configuration.
|
|
5566
5566
|
*
|
|
5567
|
-
* @throws {@link
|
|
5568
|
-
* @throws {@link
|
|
5569
|
-
* @throws {@link
|
|
5570
|
-
* @throws {@link
|
|
5571
|
-
* @throws {@link
|
|
5572
|
-
* @throws {@link
|
|
5567
|
+
* @throws {@link ElasticDashAPI.ServiceUnavailableError}
|
|
5568
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5569
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5570
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5571
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5572
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5573
5573
|
*
|
|
5574
5574
|
* @example
|
|
5575
5575
|
* await client.health.health()
|
|
@@ -5591,11 +5591,11 @@ declare namespace Ingestion {
|
|
|
5591
5591
|
username?: Supplier<string | undefined>;
|
|
5592
5592
|
password?: Supplier<string | undefined>;
|
|
5593
5593
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5594
|
-
|
|
5594
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
5595
5595
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5596
|
-
|
|
5596
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
5597
5597
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5598
|
-
|
|
5598
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
5599
5599
|
/** Additional headers to include in requests. */
|
|
5600
5600
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
5601
5601
|
}
|
|
@@ -5607,11 +5607,11 @@ declare namespace Ingestion {
|
|
|
5607
5607
|
/** A hook to abort the request. */
|
|
5608
5608
|
abortSignal?: AbortSignal;
|
|
5609
5609
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5610
|
-
|
|
5610
|
+
xElasticDashSdkName?: string | undefined;
|
|
5611
5611
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5612
|
-
|
|
5612
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
5613
5613
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5614
|
-
|
|
5614
|
+
xElasticDashPublicKey?: string | undefined;
|
|
5615
5615
|
/** Additional query string parameters to include in the request. */
|
|
5616
5616
|
queryParams?: Record<string, unknown>;
|
|
5617
5617
|
/** Additional headers to include in the request. */
|
|
@@ -5638,14 +5638,14 @@ declare class Ingestion {
|
|
|
5638
5638
|
* - Batch sizes are limited to 3.5 MB in total. You need to adjust the number of events per batch accordingly.
|
|
5639
5639
|
* - The API does not return a 4xx status code for input errors. Instead, it responds with a 207 status code, which includes a list of the encountered errors.
|
|
5640
5640
|
*
|
|
5641
|
-
* @param {
|
|
5641
|
+
* @param {ElasticDashAPI.IngestionRequest} request
|
|
5642
5642
|
* @param {Ingestion.RequestOptions} requestOptions - Request-specific configuration.
|
|
5643
5643
|
*
|
|
5644
|
-
* @throws {@link
|
|
5645
|
-
* @throws {@link
|
|
5646
|
-
* @throws {@link
|
|
5647
|
-
* @throws {@link
|
|
5648
|
-
* @throws {@link
|
|
5644
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5645
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5646
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5647
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5648
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5649
5649
|
*
|
|
5650
5650
|
* @example
|
|
5651
5651
|
* await client.ingestion.batch({
|
|
@@ -5719,11 +5719,11 @@ declare namespace LlmConnections {
|
|
|
5719
5719
|
username?: Supplier<string | undefined>;
|
|
5720
5720
|
password?: Supplier<string | undefined>;
|
|
5721
5721
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5722
|
-
|
|
5722
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
5723
5723
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5724
|
-
|
|
5724
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
5725
5725
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5726
|
-
|
|
5726
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
5727
5727
|
/** Additional headers to include in requests. */
|
|
5728
5728
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
5729
5729
|
}
|
|
@@ -5735,11 +5735,11 @@ declare namespace LlmConnections {
|
|
|
5735
5735
|
/** A hook to abort the request. */
|
|
5736
5736
|
abortSignal?: AbortSignal;
|
|
5737
5737
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5738
|
-
|
|
5738
|
+
xElasticDashSdkName?: string | undefined;
|
|
5739
5739
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5740
|
-
|
|
5740
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
5741
5741
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5742
|
-
|
|
5742
|
+
xElasticDashPublicKey?: string | undefined;
|
|
5743
5743
|
/** Additional query string parameters to include in the request. */
|
|
5744
5744
|
queryParams?: Record<string, unknown>;
|
|
5745
5745
|
/** Additional headers to include in the request. */
|
|
@@ -5752,14 +5752,14 @@ declare class LlmConnections {
|
|
|
5752
5752
|
/**
|
|
5753
5753
|
* Get all LLM connections in a project
|
|
5754
5754
|
*
|
|
5755
|
-
* @param {
|
|
5755
|
+
* @param {ElasticDashAPI.GetLlmConnectionsRequest} request
|
|
5756
5756
|
* @param {LlmConnections.RequestOptions} requestOptions - Request-specific configuration.
|
|
5757
5757
|
*
|
|
5758
|
-
* @throws {@link
|
|
5759
|
-
* @throws {@link
|
|
5760
|
-
* @throws {@link
|
|
5761
|
-
* @throws {@link
|
|
5762
|
-
* @throws {@link
|
|
5758
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5759
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5760
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5761
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5762
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5763
5763
|
*
|
|
5764
5764
|
* @example
|
|
5765
5765
|
* await client.llmConnections.list()
|
|
@@ -5769,14 +5769,14 @@ declare class LlmConnections {
|
|
|
5769
5769
|
/**
|
|
5770
5770
|
* Create or update an LLM connection. The connection is upserted on provider.
|
|
5771
5771
|
*
|
|
5772
|
-
* @param {
|
|
5772
|
+
* @param {ElasticDashAPI.UpsertLlmConnectionRequest} request
|
|
5773
5773
|
* @param {LlmConnections.RequestOptions} requestOptions - Request-specific configuration.
|
|
5774
5774
|
*
|
|
5775
|
-
* @throws {@link
|
|
5776
|
-
* @throws {@link
|
|
5777
|
-
* @throws {@link
|
|
5778
|
-
* @throws {@link
|
|
5779
|
-
* @throws {@link
|
|
5775
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5776
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5777
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5778
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5779
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5780
5780
|
*
|
|
5781
5781
|
* @example
|
|
5782
5782
|
* await client.llmConnections.upsert({
|
|
@@ -5807,11 +5807,11 @@ declare namespace Media {
|
|
|
5807
5807
|
username?: Supplier<string | undefined>;
|
|
5808
5808
|
password?: Supplier<string | undefined>;
|
|
5809
5809
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5810
|
-
|
|
5810
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
5811
5811
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5812
|
-
|
|
5812
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
5813
5813
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5814
|
-
|
|
5814
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
5815
5815
|
/** Additional headers to include in requests. */
|
|
5816
5816
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
5817
5817
|
}
|
|
@@ -5823,11 +5823,11 @@ declare namespace Media {
|
|
|
5823
5823
|
/** A hook to abort the request. */
|
|
5824
5824
|
abortSignal?: AbortSignal;
|
|
5825
5825
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5826
|
-
|
|
5826
|
+
xElasticDashSdkName?: string | undefined;
|
|
5827
5827
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5828
|
-
|
|
5828
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
5829
5829
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5830
|
-
|
|
5830
|
+
xElasticDashPublicKey?: string | undefined;
|
|
5831
5831
|
/** Additional query string parameters to include in the request. */
|
|
5832
5832
|
queryParams?: Record<string, unknown>;
|
|
5833
5833
|
/** Additional headers to include in the request. */
|
|
@@ -5843,11 +5843,11 @@ declare class Media {
|
|
|
5843
5843
|
* @param {string} mediaId - The unique elasticdash identifier of a media record
|
|
5844
5844
|
* @param {Media.RequestOptions} requestOptions - Request-specific configuration.
|
|
5845
5845
|
*
|
|
5846
|
-
* @throws {@link
|
|
5847
|
-
* @throws {@link
|
|
5848
|
-
* @throws {@link
|
|
5849
|
-
* @throws {@link
|
|
5850
|
-
* @throws {@link
|
|
5846
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5847
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5848
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5849
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5850
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5851
5851
|
*
|
|
5852
5852
|
* @example
|
|
5853
5853
|
* await client.media.get("mediaId")
|
|
@@ -5858,14 +5858,14 @@ declare class Media {
|
|
|
5858
5858
|
* Patch a media record
|
|
5859
5859
|
*
|
|
5860
5860
|
* @param {string} mediaId - The unique elasticdash identifier of a media record
|
|
5861
|
-
* @param {
|
|
5861
|
+
* @param {ElasticDashAPI.PatchMediaBody} request
|
|
5862
5862
|
* @param {Media.RequestOptions} requestOptions - Request-specific configuration.
|
|
5863
5863
|
*
|
|
5864
|
-
* @throws {@link
|
|
5865
|
-
* @throws {@link
|
|
5866
|
-
* @throws {@link
|
|
5867
|
-
* @throws {@link
|
|
5868
|
-
* @throws {@link
|
|
5864
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5865
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5866
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5867
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5868
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5869
5869
|
*
|
|
5870
5870
|
* @example
|
|
5871
5871
|
* await client.media.patch("mediaId", {
|
|
@@ -5880,14 +5880,14 @@ declare class Media {
|
|
|
5880
5880
|
/**
|
|
5881
5881
|
* Get a presigned upload URL for a media record
|
|
5882
5882
|
*
|
|
5883
|
-
* @param {
|
|
5883
|
+
* @param {ElasticDashAPI.GetMediaUploadUrlRequest} request
|
|
5884
5884
|
* @param {Media.RequestOptions} requestOptions - Request-specific configuration.
|
|
5885
5885
|
*
|
|
5886
|
-
* @throws {@link
|
|
5887
|
-
* @throws {@link
|
|
5888
|
-
* @throws {@link
|
|
5889
|
-
* @throws {@link
|
|
5890
|
-
* @throws {@link
|
|
5886
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
5887
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
5888
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
5889
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
5890
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
5891
5891
|
*
|
|
5892
5892
|
* @example
|
|
5893
5893
|
* await client.media.getUploadUrl({
|
|
@@ -5916,11 +5916,11 @@ declare namespace MetricsV2 {
|
|
|
5916
5916
|
username?: Supplier<string | undefined>;
|
|
5917
5917
|
password?: Supplier<string | undefined>;
|
|
5918
5918
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5919
|
-
|
|
5919
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
5920
5920
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5921
|
-
|
|
5921
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
5922
5922
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5923
|
-
|
|
5923
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
5924
5924
|
/** Additional headers to include in requests. */
|
|
5925
5925
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
5926
5926
|
}
|
|
@@ -5932,11 +5932,11 @@ declare namespace MetricsV2 {
|
|
|
5932
5932
|
/** A hook to abort the request. */
|
|
5933
5933
|
abortSignal?: AbortSignal;
|
|
5934
5934
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
5935
|
-
|
|
5935
|
+
xElasticDashSdkName?: string | undefined;
|
|
5936
5936
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
5937
|
-
|
|
5937
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
5938
5938
|
/** Override the X-ElasticDash-Public-Key header */
|
|
5939
|
-
|
|
5939
|
+
xElasticDashPublicKey?: string | undefined;
|
|
5940
5940
|
/** Additional query string parameters to include in the request. */
|
|
5941
5941
|
queryParams?: Record<string, unknown>;
|
|
5942
5942
|
/** Additional headers to include in the request. */
|
|
@@ -6049,14 +6049,14 @@ declare class MetricsV2 {
|
|
|
6049
6049
|
* Available granularities for timeDimension: `auto`, `minute`, `hour`, `day`, `week`, `month`
|
|
6050
6050
|
* - `auto` bins the data into approximately 50 buckets based on the time range
|
|
6051
6051
|
*
|
|
6052
|
-
* @param {
|
|
6052
|
+
* @param {ElasticDashAPI.GetMetricsV2Request} request
|
|
6053
6053
|
* @param {MetricsV2.RequestOptions} requestOptions - Request-specific configuration.
|
|
6054
6054
|
*
|
|
6055
|
-
* @throws {@link
|
|
6056
|
-
* @throws {@link
|
|
6057
|
-
* @throws {@link
|
|
6058
|
-
* @throws {@link
|
|
6059
|
-
* @throws {@link
|
|
6055
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6056
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6057
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6058
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6059
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6060
6060
|
*
|
|
6061
6061
|
* @example
|
|
6062
6062
|
* await client.metricsV2.metrics({
|
|
@@ -6080,11 +6080,11 @@ declare namespace Metrics {
|
|
|
6080
6080
|
username?: Supplier<string | undefined>;
|
|
6081
6081
|
password?: Supplier<string | undefined>;
|
|
6082
6082
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6083
|
-
|
|
6083
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
6084
6084
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6085
|
-
|
|
6085
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
6086
6086
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6087
|
-
|
|
6087
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
6088
6088
|
/** Additional headers to include in requests. */
|
|
6089
6089
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
6090
6090
|
}
|
|
@@ -6096,11 +6096,11 @@ declare namespace Metrics {
|
|
|
6096
6096
|
/** A hook to abort the request. */
|
|
6097
6097
|
abortSignal?: AbortSignal;
|
|
6098
6098
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6099
|
-
|
|
6099
|
+
xElasticDashSdkName?: string | undefined;
|
|
6100
6100
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6101
|
-
|
|
6101
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
6102
6102
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6103
|
-
|
|
6103
|
+
xElasticDashPublicKey?: string | undefined;
|
|
6104
6104
|
/** Additional query string parameters to include in the request. */
|
|
6105
6105
|
queryParams?: Record<string, unknown>;
|
|
6106
6106
|
/** Additional headers to include in the request. */
|
|
@@ -6117,14 +6117,14 @@ declare class Metrics {
|
|
|
6117
6117
|
*
|
|
6118
6118
|
* For more details, see the [Metrics API documentation](https://elasticdash.com/docs/metrics/features/metrics-api).
|
|
6119
6119
|
*
|
|
6120
|
-
* @param {
|
|
6120
|
+
* @param {ElasticDashAPI.GetMetricsRequest} request
|
|
6121
6121
|
* @param {Metrics.RequestOptions} requestOptions - Request-specific configuration.
|
|
6122
6122
|
*
|
|
6123
|
-
* @throws {@link
|
|
6124
|
-
* @throws {@link
|
|
6125
|
-
* @throws {@link
|
|
6126
|
-
* @throws {@link
|
|
6127
|
-
* @throws {@link
|
|
6123
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6124
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6125
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6126
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6127
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6128
6128
|
*
|
|
6129
6129
|
* @example
|
|
6130
6130
|
* await client.metrics.metrics({
|
|
@@ -6148,11 +6148,11 @@ declare namespace Models {
|
|
|
6148
6148
|
username?: Supplier<string | undefined>;
|
|
6149
6149
|
password?: Supplier<string | undefined>;
|
|
6150
6150
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6151
|
-
|
|
6151
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
6152
6152
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6153
|
-
|
|
6153
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
6154
6154
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6155
|
-
|
|
6155
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
6156
6156
|
/** Additional headers to include in requests. */
|
|
6157
6157
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
6158
6158
|
}
|
|
@@ -6164,11 +6164,11 @@ declare namespace Models {
|
|
|
6164
6164
|
/** A hook to abort the request. */
|
|
6165
6165
|
abortSignal?: AbortSignal;
|
|
6166
6166
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6167
|
-
|
|
6167
|
+
xElasticDashSdkName?: string | undefined;
|
|
6168
6168
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6169
|
-
|
|
6169
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
6170
6170
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6171
|
-
|
|
6171
|
+
xElasticDashPublicKey?: string | undefined;
|
|
6172
6172
|
/** Additional query string parameters to include in the request. */
|
|
6173
6173
|
queryParams?: Record<string, unknown>;
|
|
6174
6174
|
/** Additional headers to include in the request. */
|
|
@@ -6181,14 +6181,14 @@ declare class Models {
|
|
|
6181
6181
|
/**
|
|
6182
6182
|
* Create a model
|
|
6183
6183
|
*
|
|
6184
|
-
* @param {
|
|
6184
|
+
* @param {ElasticDashAPI.CreateModelRequest} request
|
|
6185
6185
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
6186
6186
|
*
|
|
6187
|
-
* @throws {@link
|
|
6188
|
-
* @throws {@link
|
|
6189
|
-
* @throws {@link
|
|
6190
|
-
* @throws {@link
|
|
6191
|
-
* @throws {@link
|
|
6187
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6188
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6189
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6190
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6191
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6192
6192
|
*
|
|
6193
6193
|
* @example
|
|
6194
6194
|
* await client.models.create({
|
|
@@ -6209,14 +6209,14 @@ declare class Models {
|
|
|
6209
6209
|
/**
|
|
6210
6210
|
* Get all models
|
|
6211
6211
|
*
|
|
6212
|
-
* @param {
|
|
6212
|
+
* @param {ElasticDashAPI.GetModelsRequest} request
|
|
6213
6213
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
6214
6214
|
*
|
|
6215
|
-
* @throws {@link
|
|
6216
|
-
* @throws {@link
|
|
6217
|
-
* @throws {@link
|
|
6218
|
-
* @throws {@link
|
|
6219
|
-
* @throws {@link
|
|
6215
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6216
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6217
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6218
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6219
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6220
6220
|
*
|
|
6221
6221
|
* @example
|
|
6222
6222
|
* await client.models.list()
|
|
@@ -6229,11 +6229,11 @@ declare class Models {
|
|
|
6229
6229
|
* @param {string} id
|
|
6230
6230
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
6231
6231
|
*
|
|
6232
|
-
* @throws {@link
|
|
6233
|
-
* @throws {@link
|
|
6234
|
-
* @throws {@link
|
|
6235
|
-
* @throws {@link
|
|
6236
|
-
* @throws {@link
|
|
6232
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6233
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6234
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6235
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6236
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6237
6237
|
*
|
|
6238
6238
|
* @example
|
|
6239
6239
|
* await client.models.get("id")
|
|
@@ -6246,11 +6246,11 @@ declare class Models {
|
|
|
6246
6246
|
* @param {string} id
|
|
6247
6247
|
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
6248
6248
|
*
|
|
6249
|
-
* @throws {@link
|
|
6250
|
-
* @throws {@link
|
|
6251
|
-
* @throws {@link
|
|
6252
|
-
* @throws {@link
|
|
6253
|
-
* @throws {@link
|
|
6249
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6250
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6251
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6252
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6253
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6254
6254
|
*
|
|
6255
6255
|
* @example
|
|
6256
6256
|
* await client.models.delete("id")
|
|
@@ -6272,11 +6272,11 @@ declare namespace ObservationsV2 {
|
|
|
6272
6272
|
username?: Supplier<string | undefined>;
|
|
6273
6273
|
password?: Supplier<string | undefined>;
|
|
6274
6274
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6275
|
-
|
|
6275
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
6276
6276
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6277
|
-
|
|
6277
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
6278
6278
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6279
|
-
|
|
6279
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
6280
6280
|
/** Additional headers to include in requests. */
|
|
6281
6281
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
6282
6282
|
}
|
|
@@ -6288,11 +6288,11 @@ declare namespace ObservationsV2 {
|
|
|
6288
6288
|
/** A hook to abort the request. */
|
|
6289
6289
|
abortSignal?: AbortSignal;
|
|
6290
6290
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6291
|
-
|
|
6291
|
+
xElasticDashSdkName?: string | undefined;
|
|
6292
6292
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6293
|
-
|
|
6293
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
6294
6294
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6295
|
-
|
|
6295
|
+
xElasticDashPublicKey?: string | undefined;
|
|
6296
6296
|
/** Additional query string parameters to include in the request. */
|
|
6297
6297
|
queryParams?: Record<string, unknown>;
|
|
6298
6298
|
/** Additional headers to include in the request. */
|
|
@@ -6328,14 +6328,14 @@ declare class ObservationsV2 {
|
|
|
6328
6328
|
* Multiple filtering options are available via query parameters or the structured `filter` parameter.
|
|
6329
6329
|
* When using the `filter` parameter, it takes precedence over individual query parameter filters.
|
|
6330
6330
|
*
|
|
6331
|
-
* @param {
|
|
6331
|
+
* @param {ElasticDashAPI.GetObservationsV2Request} request
|
|
6332
6332
|
* @param {ObservationsV2.RequestOptions} requestOptions - Request-specific configuration.
|
|
6333
6333
|
*
|
|
6334
|
-
* @throws {@link
|
|
6335
|
-
* @throws {@link
|
|
6336
|
-
* @throws {@link
|
|
6337
|
-
* @throws {@link
|
|
6338
|
-
* @throws {@link
|
|
6334
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6335
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6336
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6337
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6338
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6339
6339
|
*
|
|
6340
6340
|
* @example
|
|
6341
6341
|
* await client.observationsV2.getMany()
|
|
@@ -6357,11 +6357,11 @@ declare namespace Observations {
|
|
|
6357
6357
|
username?: Supplier<string | undefined>;
|
|
6358
6358
|
password?: Supplier<string | undefined>;
|
|
6359
6359
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6360
|
-
|
|
6360
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
6361
6361
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6362
|
-
|
|
6362
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
6363
6363
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6364
|
-
|
|
6364
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
6365
6365
|
/** Additional headers to include in requests. */
|
|
6366
6366
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
6367
6367
|
}
|
|
@@ -6373,11 +6373,11 @@ declare namespace Observations {
|
|
|
6373
6373
|
/** A hook to abort the request. */
|
|
6374
6374
|
abortSignal?: AbortSignal;
|
|
6375
6375
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6376
|
-
|
|
6376
|
+
xElasticDashSdkName?: string | undefined;
|
|
6377
6377
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6378
|
-
|
|
6378
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
6379
6379
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6380
|
-
|
|
6380
|
+
xElasticDashPublicKey?: string | undefined;
|
|
6381
6381
|
/** Additional query string parameters to include in the request. */
|
|
6382
6382
|
queryParams?: Record<string, unknown>;
|
|
6383
6383
|
/** Additional headers to include in the request. */
|
|
@@ -6393,11 +6393,11 @@ declare class Observations {
|
|
|
6393
6393
|
* @param {string} observationId - The unique elasticdash identifier of an observation, can be an event, span or generation
|
|
6394
6394
|
* @param {Observations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6395
6395
|
*
|
|
6396
|
-
* @throws {@link
|
|
6397
|
-
* @throws {@link
|
|
6398
|
-
* @throws {@link
|
|
6399
|
-
* @throws {@link
|
|
6400
|
-
* @throws {@link
|
|
6396
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6397
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6398
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6399
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6400
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6401
6401
|
*
|
|
6402
6402
|
* @example
|
|
6403
6403
|
* await client.observations.get("observationId")
|
|
@@ -6409,14 +6409,14 @@ declare class Observations {
|
|
|
6409
6409
|
*
|
|
6410
6410
|
* Consider using the [v2 observations endpoint](/api-reference#tag/observationsv2/GET/api/public/v2/observations) for cursor-based pagination and field selection.
|
|
6411
6411
|
*
|
|
6412
|
-
* @param {
|
|
6412
|
+
* @param {ElasticDashAPI.GetObservationsRequest} request
|
|
6413
6413
|
* @param {Observations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6414
6414
|
*
|
|
6415
|
-
* @throws {@link
|
|
6416
|
-
* @throws {@link
|
|
6417
|
-
* @throws {@link
|
|
6418
|
-
* @throws {@link
|
|
6419
|
-
* @throws {@link
|
|
6415
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6416
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6417
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6418
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6419
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6420
6420
|
*
|
|
6421
6421
|
* @example
|
|
6422
6422
|
* await client.observations.getMany()
|
|
@@ -6438,11 +6438,11 @@ declare namespace Opentelemetry {
|
|
|
6438
6438
|
username?: Supplier<string | undefined>;
|
|
6439
6439
|
password?: Supplier<string | undefined>;
|
|
6440
6440
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6441
|
-
|
|
6441
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
6442
6442
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6443
|
-
|
|
6443
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
6444
6444
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6445
|
-
|
|
6445
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
6446
6446
|
/** Additional headers to include in requests. */
|
|
6447
6447
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
6448
6448
|
}
|
|
@@ -6454,11 +6454,11 @@ declare namespace Opentelemetry {
|
|
|
6454
6454
|
/** A hook to abort the request. */
|
|
6455
6455
|
abortSignal?: AbortSignal;
|
|
6456
6456
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6457
|
-
|
|
6457
|
+
xElasticDashSdkName?: string | undefined;
|
|
6458
6458
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6459
|
-
|
|
6459
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
6460
6460
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6461
|
-
|
|
6461
|
+
xElasticDashPublicKey?: string | undefined;
|
|
6462
6462
|
/** Additional query string parameters to include in the request. */
|
|
6463
6463
|
queryParams?: Record<string, unknown>;
|
|
6464
6464
|
/** Additional headers to include in the request. */
|
|
@@ -6486,14 +6486,14 @@ declare class Opentelemetry {
|
|
|
6486
6486
|
* - Integration guide: https://elasticdash.com/integrations/native/opentelemetry
|
|
6487
6487
|
* - Data model: https://elasticdash.com/docs/observability/data-model
|
|
6488
6488
|
*
|
|
6489
|
-
* @param {
|
|
6489
|
+
* @param {ElasticDashAPI.OtelTraceRequest} request
|
|
6490
6490
|
* @param {Opentelemetry.RequestOptions} requestOptions - Request-specific configuration.
|
|
6491
6491
|
*
|
|
6492
|
-
* @throws {@link
|
|
6493
|
-
* @throws {@link
|
|
6494
|
-
* @throws {@link
|
|
6495
|
-
* @throws {@link
|
|
6496
|
-
* @throws {@link
|
|
6492
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6493
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6494
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6495
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6496
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6497
6497
|
*
|
|
6498
6498
|
* @example
|
|
6499
6499
|
* await client.opentelemetry.exportTraces({
|
|
@@ -6552,11 +6552,11 @@ declare namespace Organizations {
|
|
|
6552
6552
|
username?: Supplier<string | undefined>;
|
|
6553
6553
|
password?: Supplier<string | undefined>;
|
|
6554
6554
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6555
|
-
|
|
6555
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
6556
6556
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6557
|
-
|
|
6557
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
6558
6558
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6559
|
-
|
|
6559
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
6560
6560
|
/** Additional headers to include in requests. */
|
|
6561
6561
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
6562
6562
|
}
|
|
@@ -6568,11 +6568,11 @@ declare namespace Organizations {
|
|
|
6568
6568
|
/** A hook to abort the request. */
|
|
6569
6569
|
abortSignal?: AbortSignal;
|
|
6570
6570
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6571
|
-
|
|
6571
|
+
xElasticDashSdkName?: string | undefined;
|
|
6572
6572
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6573
|
-
|
|
6573
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
6574
6574
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6575
|
-
|
|
6575
|
+
xElasticDashPublicKey?: string | undefined;
|
|
6576
6576
|
/** Additional query string parameters to include in the request. */
|
|
6577
6577
|
queryParams?: Record<string, unknown>;
|
|
6578
6578
|
/** Additional headers to include in the request. */
|
|
@@ -6587,11 +6587,11 @@ declare class Organizations {
|
|
|
6587
6587
|
*
|
|
6588
6588
|
* @param {Organizations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6589
6589
|
*
|
|
6590
|
-
* @throws {@link
|
|
6591
|
-
* @throws {@link
|
|
6592
|
-
* @throws {@link
|
|
6593
|
-
* @throws {@link
|
|
6594
|
-
* @throws {@link
|
|
6590
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6591
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6592
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6593
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6594
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6595
6595
|
*
|
|
6596
6596
|
* @example
|
|
6597
6597
|
* await client.organizations.getOrganizationMemberships()
|
|
@@ -6601,14 +6601,14 @@ declare class Organizations {
|
|
|
6601
6601
|
/**
|
|
6602
6602
|
* Create or update a membership for the organization associated with the API key (requires organization-scoped API key)
|
|
6603
6603
|
*
|
|
6604
|
-
* @param {
|
|
6604
|
+
* @param {ElasticDashAPI.MembershipRequest} request
|
|
6605
6605
|
* @param {Organizations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6606
6606
|
*
|
|
6607
|
-
* @throws {@link
|
|
6608
|
-
* @throws {@link
|
|
6609
|
-
* @throws {@link
|
|
6610
|
-
* @throws {@link
|
|
6611
|
-
* @throws {@link
|
|
6607
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6608
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6609
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6610
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6611
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6612
6612
|
*
|
|
6613
6613
|
* @example
|
|
6614
6614
|
* await client.organizations.updateOrganizationMembership({
|
|
@@ -6621,14 +6621,14 @@ declare class Organizations {
|
|
|
6621
6621
|
/**
|
|
6622
6622
|
* Delete a membership from the organization associated with the API key (requires organization-scoped API key)
|
|
6623
6623
|
*
|
|
6624
|
-
* @param {
|
|
6624
|
+
* @param {ElasticDashAPI.DeleteMembershipRequest} request
|
|
6625
6625
|
* @param {Organizations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6626
6626
|
*
|
|
6627
|
-
* @throws {@link
|
|
6628
|
-
* @throws {@link
|
|
6629
|
-
* @throws {@link
|
|
6630
|
-
* @throws {@link
|
|
6631
|
-
* @throws {@link
|
|
6627
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6628
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6629
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6630
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6631
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6632
6632
|
*
|
|
6633
6633
|
* @example
|
|
6634
6634
|
* await client.organizations.deleteOrganizationMembership({
|
|
@@ -6643,11 +6643,11 @@ declare class Organizations {
|
|
|
6643
6643
|
* @param {string} projectId
|
|
6644
6644
|
* @param {Organizations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6645
6645
|
*
|
|
6646
|
-
* @throws {@link
|
|
6647
|
-
* @throws {@link
|
|
6648
|
-
* @throws {@link
|
|
6649
|
-
* @throws {@link
|
|
6650
|
-
* @throws {@link
|
|
6646
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6647
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6648
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6649
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6650
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6651
6651
|
*
|
|
6652
6652
|
* @example
|
|
6653
6653
|
* await client.organizations.getProjectMemberships("projectId")
|
|
@@ -6658,14 +6658,14 @@ declare class Organizations {
|
|
|
6658
6658
|
* Create or update a membership for a specific project (requires organization-scoped API key). The user must already be a member of the organization.
|
|
6659
6659
|
*
|
|
6660
6660
|
* @param {string} projectId
|
|
6661
|
-
* @param {
|
|
6661
|
+
* @param {ElasticDashAPI.MembershipRequest} request
|
|
6662
6662
|
* @param {Organizations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6663
6663
|
*
|
|
6664
|
-
* @throws {@link
|
|
6665
|
-
* @throws {@link
|
|
6666
|
-
* @throws {@link
|
|
6667
|
-
* @throws {@link
|
|
6668
|
-
* @throws {@link
|
|
6664
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6665
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6666
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6667
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6668
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6669
6669
|
*
|
|
6670
6670
|
* @example
|
|
6671
6671
|
* await client.organizations.updateProjectMembership("projectId", {
|
|
@@ -6679,14 +6679,14 @@ declare class Organizations {
|
|
|
6679
6679
|
* Delete a membership from a specific project (requires organization-scoped API key). The user must be a member of the organization.
|
|
6680
6680
|
*
|
|
6681
6681
|
* @param {string} projectId
|
|
6682
|
-
* @param {
|
|
6682
|
+
* @param {ElasticDashAPI.DeleteMembershipRequest} request
|
|
6683
6683
|
* @param {Organizations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6684
6684
|
*
|
|
6685
|
-
* @throws {@link
|
|
6686
|
-
* @throws {@link
|
|
6687
|
-
* @throws {@link
|
|
6688
|
-
* @throws {@link
|
|
6689
|
-
* @throws {@link
|
|
6685
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6686
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6687
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6688
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6689
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6690
6690
|
*
|
|
6691
6691
|
* @example
|
|
6692
6692
|
* await client.organizations.deleteProjectMembership("projectId", {
|
|
@@ -6700,11 +6700,11 @@ declare class Organizations {
|
|
|
6700
6700
|
*
|
|
6701
6701
|
* @param {Organizations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6702
6702
|
*
|
|
6703
|
-
* @throws {@link
|
|
6704
|
-
* @throws {@link
|
|
6705
|
-
* @throws {@link
|
|
6706
|
-
* @throws {@link
|
|
6707
|
-
* @throws {@link
|
|
6703
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6704
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6705
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6706
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6707
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6708
6708
|
*
|
|
6709
6709
|
* @example
|
|
6710
6710
|
* await client.organizations.getOrganizationProjects()
|
|
@@ -6716,11 +6716,11 @@ declare class Organizations {
|
|
|
6716
6716
|
*
|
|
6717
6717
|
* @param {Organizations.RequestOptions} requestOptions - Request-specific configuration.
|
|
6718
6718
|
*
|
|
6719
|
-
* @throws {@link
|
|
6720
|
-
* @throws {@link
|
|
6721
|
-
* @throws {@link
|
|
6722
|
-
* @throws {@link
|
|
6723
|
-
* @throws {@link
|
|
6719
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6720
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6721
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6722
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6723
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6724
6724
|
*
|
|
6725
6725
|
* @example
|
|
6726
6726
|
* await client.organizations.getOrganizationApiKeys()
|
|
@@ -6742,11 +6742,11 @@ declare namespace Projects {
|
|
|
6742
6742
|
username?: Supplier<string | undefined>;
|
|
6743
6743
|
password?: Supplier<string | undefined>;
|
|
6744
6744
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6745
|
-
|
|
6745
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
6746
6746
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6747
|
-
|
|
6747
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
6748
6748
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6749
|
-
|
|
6749
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
6750
6750
|
/** Additional headers to include in requests. */
|
|
6751
6751
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
6752
6752
|
}
|
|
@@ -6758,11 +6758,11 @@ declare namespace Projects {
|
|
|
6758
6758
|
/** A hook to abort the request. */
|
|
6759
6759
|
abortSignal?: AbortSignal;
|
|
6760
6760
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6761
|
-
|
|
6761
|
+
xElasticDashSdkName?: string | undefined;
|
|
6762
6762
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6763
|
-
|
|
6763
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
6764
6764
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6765
|
-
|
|
6765
|
+
xElasticDashPublicKey?: string | undefined;
|
|
6766
6766
|
/** Additional query string parameters to include in the request. */
|
|
6767
6767
|
queryParams?: Record<string, unknown>;
|
|
6768
6768
|
/** Additional headers to include in the request. */
|
|
@@ -6777,11 +6777,11 @@ declare class Projects {
|
|
|
6777
6777
|
*
|
|
6778
6778
|
* @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
|
|
6779
6779
|
*
|
|
6780
|
-
* @throws {@link
|
|
6781
|
-
* @throws {@link
|
|
6782
|
-
* @throws {@link
|
|
6783
|
-
* @throws {@link
|
|
6784
|
-
* @throws {@link
|
|
6780
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6781
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6782
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6783
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6784
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6785
6785
|
*
|
|
6786
6786
|
* @example
|
|
6787
6787
|
* await client.projects.get()
|
|
@@ -6791,14 +6791,14 @@ declare class Projects {
|
|
|
6791
6791
|
/**
|
|
6792
6792
|
* Create a new project (requires organization-scoped API key)
|
|
6793
6793
|
*
|
|
6794
|
-
* @param {
|
|
6794
|
+
* @param {ElasticDashAPI.CreateProjectRequest} request
|
|
6795
6795
|
* @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
|
|
6796
6796
|
*
|
|
6797
|
-
* @throws {@link
|
|
6798
|
-
* @throws {@link
|
|
6799
|
-
* @throws {@link
|
|
6800
|
-
* @throws {@link
|
|
6801
|
-
* @throws {@link
|
|
6797
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6798
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6799
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6800
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6801
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6802
6802
|
*
|
|
6803
6803
|
* @example
|
|
6804
6804
|
* await client.projects.create({
|
|
@@ -6813,14 +6813,14 @@ declare class Projects {
|
|
|
6813
6813
|
* Update a project by ID (requires organization-scoped API key).
|
|
6814
6814
|
*
|
|
6815
6815
|
* @param {string} projectId
|
|
6816
|
-
* @param {
|
|
6816
|
+
* @param {ElasticDashAPI.UpdateProjectRequest} request
|
|
6817
6817
|
* @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
|
|
6818
6818
|
*
|
|
6819
|
-
* @throws {@link
|
|
6820
|
-
* @throws {@link
|
|
6821
|
-
* @throws {@link
|
|
6822
|
-
* @throws {@link
|
|
6823
|
-
* @throws {@link
|
|
6819
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6820
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6821
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6822
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6823
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6824
6824
|
*
|
|
6825
6825
|
* @example
|
|
6826
6826
|
* await client.projects.update("projectId", {
|
|
@@ -6837,11 +6837,11 @@ declare class Projects {
|
|
|
6837
6837
|
* @param {string} projectId
|
|
6838
6838
|
* @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
|
|
6839
6839
|
*
|
|
6840
|
-
* @throws {@link
|
|
6841
|
-
* @throws {@link
|
|
6842
|
-
* @throws {@link
|
|
6843
|
-
* @throws {@link
|
|
6844
|
-
* @throws {@link
|
|
6840
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6841
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6842
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6843
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6844
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6845
6845
|
*
|
|
6846
6846
|
* @example
|
|
6847
6847
|
* await client.projects.delete("projectId")
|
|
@@ -6854,11 +6854,11 @@ declare class Projects {
|
|
|
6854
6854
|
* @param {string} projectId
|
|
6855
6855
|
* @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
|
|
6856
6856
|
*
|
|
6857
|
-
* @throws {@link
|
|
6858
|
-
* @throws {@link
|
|
6859
|
-
* @throws {@link
|
|
6860
|
-
* @throws {@link
|
|
6861
|
-
* @throws {@link
|
|
6857
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6858
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6859
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6860
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6861
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6862
6862
|
*
|
|
6863
6863
|
* @example
|
|
6864
6864
|
* await client.projects.getApiKeys("projectId")
|
|
@@ -6869,14 +6869,14 @@ declare class Projects {
|
|
|
6869
6869
|
* Create a new API key for a project (requires organization-scoped API key)
|
|
6870
6870
|
*
|
|
6871
6871
|
* @param {string} projectId
|
|
6872
|
-
* @param {
|
|
6872
|
+
* @param {ElasticDashAPI.CreateApiKeyRequest} request
|
|
6873
6873
|
* @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
|
|
6874
6874
|
*
|
|
6875
|
-
* @throws {@link
|
|
6876
|
-
* @throws {@link
|
|
6877
|
-
* @throws {@link
|
|
6878
|
-
* @throws {@link
|
|
6879
|
-
* @throws {@link
|
|
6875
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6876
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6877
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6878
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6879
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6880
6880
|
*
|
|
6881
6881
|
* @example
|
|
6882
6882
|
* await client.projects.createApiKey("projectId", {
|
|
@@ -6894,11 +6894,11 @@ declare class Projects {
|
|
|
6894
6894
|
* @param {string} apiKeyId
|
|
6895
6895
|
* @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
|
|
6896
6896
|
*
|
|
6897
|
-
* @throws {@link
|
|
6898
|
-
* @throws {@link
|
|
6899
|
-
* @throws {@link
|
|
6900
|
-
* @throws {@link
|
|
6901
|
-
* @throws {@link
|
|
6897
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6898
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6899
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6900
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6901
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6902
6902
|
*
|
|
6903
6903
|
* @example
|
|
6904
6904
|
* await client.projects.deleteApiKey("projectId", "apiKeyId")
|
|
@@ -6920,11 +6920,11 @@ declare namespace PromptVersion {
|
|
|
6920
6920
|
username?: Supplier<string | undefined>;
|
|
6921
6921
|
password?: Supplier<string | undefined>;
|
|
6922
6922
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6923
|
-
|
|
6923
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
6924
6924
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6925
|
-
|
|
6925
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
6926
6926
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6927
|
-
|
|
6927
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
6928
6928
|
/** Additional headers to include in requests. */
|
|
6929
6929
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
6930
6930
|
}
|
|
@@ -6936,11 +6936,11 @@ declare namespace PromptVersion {
|
|
|
6936
6936
|
/** A hook to abort the request. */
|
|
6937
6937
|
abortSignal?: AbortSignal;
|
|
6938
6938
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6939
|
-
|
|
6939
|
+
xElasticDashSdkName?: string | undefined;
|
|
6940
6940
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6941
|
-
|
|
6941
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
6942
6942
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6943
|
-
|
|
6943
|
+
xElasticDashPublicKey?: string | undefined;
|
|
6944
6944
|
/** Additional query string parameters to include in the request. */
|
|
6945
6945
|
queryParams?: Record<string, unknown>;
|
|
6946
6946
|
/** Additional headers to include in the request. */
|
|
@@ -6956,14 +6956,14 @@ declare class PromptVersion {
|
|
|
6956
6956
|
* @param {string} name - The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
|
|
6957
6957
|
* the folder path must be URL encoded.
|
|
6958
6958
|
* @param {number} version - Version of the prompt to update
|
|
6959
|
-
* @param {
|
|
6959
|
+
* @param {ElasticDashAPI.UpdatePromptRequest} request
|
|
6960
6960
|
* @param {PromptVersion.RequestOptions} requestOptions - Request-specific configuration.
|
|
6961
6961
|
*
|
|
6962
|
-
* @throws {@link
|
|
6963
|
-
* @throws {@link
|
|
6964
|
-
* @throws {@link
|
|
6965
|
-
* @throws {@link
|
|
6966
|
-
* @throws {@link
|
|
6962
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
6963
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
6964
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
6965
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
6966
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
6967
6967
|
*
|
|
6968
6968
|
* @example
|
|
6969
6969
|
* await client.promptVersion.update("name", 1, {
|
|
@@ -6987,11 +6987,11 @@ declare namespace Prompts {
|
|
|
6987
6987
|
username?: Supplier<string | undefined>;
|
|
6988
6988
|
password?: Supplier<string | undefined>;
|
|
6989
6989
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
6990
|
-
|
|
6990
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
6991
6991
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
6992
|
-
|
|
6992
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
6993
6993
|
/** Override the X-ElasticDash-Public-Key header */
|
|
6994
|
-
|
|
6994
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
6995
6995
|
/** Additional headers to include in requests. */
|
|
6996
6996
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
6997
6997
|
}
|
|
@@ -7003,11 +7003,11 @@ declare namespace Prompts {
|
|
|
7003
7003
|
/** A hook to abort the request. */
|
|
7004
7004
|
abortSignal?: AbortSignal;
|
|
7005
7005
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7006
|
-
|
|
7006
|
+
xElasticDashSdkName?: string | undefined;
|
|
7007
7007
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7008
|
-
|
|
7008
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
7009
7009
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7010
|
-
|
|
7010
|
+
xElasticDashPublicKey?: string | undefined;
|
|
7011
7011
|
/** Additional query string parameters to include in the request. */
|
|
7012
7012
|
queryParams?: Record<string, unknown>;
|
|
7013
7013
|
/** Additional headers to include in the request. */
|
|
@@ -7022,14 +7022,14 @@ declare class Prompts {
|
|
|
7022
7022
|
*
|
|
7023
7023
|
* @param {string} promptName - The name of the prompt. If the prompt is in a folder (e.g., "folder/subfolder/prompt-name"),
|
|
7024
7024
|
* the folder path must be URL encoded.
|
|
7025
|
-
* @param {
|
|
7025
|
+
* @param {ElasticDashAPI.GetPromptRequest} request
|
|
7026
7026
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
7027
7027
|
*
|
|
7028
|
-
* @throws {@link
|
|
7029
|
-
* @throws {@link
|
|
7030
|
-
* @throws {@link
|
|
7031
|
-
* @throws {@link
|
|
7032
|
-
* @throws {@link
|
|
7028
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7029
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7030
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7031
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7032
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7033
7033
|
*
|
|
7034
7034
|
* @example
|
|
7035
7035
|
* await client.prompts.get("promptName")
|
|
@@ -7039,14 +7039,14 @@ declare class Prompts {
|
|
|
7039
7039
|
/**
|
|
7040
7040
|
* Get a list of prompt names with versions and labels
|
|
7041
7041
|
*
|
|
7042
|
-
* @param {
|
|
7042
|
+
* @param {ElasticDashAPI.ListPromptsMetaRequest} request
|
|
7043
7043
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
7044
7044
|
*
|
|
7045
|
-
* @throws {@link
|
|
7046
|
-
* @throws {@link
|
|
7047
|
-
* @throws {@link
|
|
7048
|
-
* @throws {@link
|
|
7049
|
-
* @throws {@link
|
|
7045
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7046
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7047
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7048
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7049
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7050
7050
|
*
|
|
7051
7051
|
* @example
|
|
7052
7052
|
* await client.prompts.list()
|
|
@@ -7056,14 +7056,14 @@ declare class Prompts {
|
|
|
7056
7056
|
/**
|
|
7057
7057
|
* Create a new version for the prompt with the given `name`
|
|
7058
7058
|
*
|
|
7059
|
-
* @param {
|
|
7059
|
+
* @param {ElasticDashAPI.CreatePromptRequest} request
|
|
7060
7060
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
7061
7061
|
*
|
|
7062
|
-
* @throws {@link
|
|
7063
|
-
* @throws {@link
|
|
7064
|
-
* @throws {@link
|
|
7065
|
-
* @throws {@link
|
|
7066
|
-
* @throws {@link
|
|
7062
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7063
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7064
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7065
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7066
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7067
7067
|
*
|
|
7068
7068
|
* @example
|
|
7069
7069
|
* await client.prompts.create({
|
|
@@ -7090,14 +7090,14 @@ declare class Prompts {
|
|
|
7090
7090
|
* Delete prompt versions. If neither version nor label is specified, all versions of the prompt are deleted.
|
|
7091
7091
|
*
|
|
7092
7092
|
* @param {string} promptName - The name of the prompt
|
|
7093
|
-
* @param {
|
|
7093
|
+
* @param {ElasticDashAPI.DeletePromptRequest} request
|
|
7094
7094
|
* @param {Prompts.RequestOptions} requestOptions - Request-specific configuration.
|
|
7095
7095
|
*
|
|
7096
|
-
* @throws {@link
|
|
7097
|
-
* @throws {@link
|
|
7098
|
-
* @throws {@link
|
|
7099
|
-
* @throws {@link
|
|
7100
|
-
* @throws {@link
|
|
7096
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7097
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7098
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7099
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7100
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7101
7101
|
*
|
|
7102
7102
|
* @example
|
|
7103
7103
|
* await client.prompts.delete("promptName")
|
|
@@ -7119,11 +7119,11 @@ declare namespace Scim {
|
|
|
7119
7119
|
username?: Supplier<string | undefined>;
|
|
7120
7120
|
password?: Supplier<string | undefined>;
|
|
7121
7121
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7122
|
-
|
|
7122
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
7123
7123
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7124
|
-
|
|
7124
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
7125
7125
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7126
|
-
|
|
7126
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
7127
7127
|
/** Additional headers to include in requests. */
|
|
7128
7128
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
7129
7129
|
}
|
|
@@ -7135,11 +7135,11 @@ declare namespace Scim {
|
|
|
7135
7135
|
/** A hook to abort the request. */
|
|
7136
7136
|
abortSignal?: AbortSignal;
|
|
7137
7137
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7138
|
-
|
|
7138
|
+
xElasticDashSdkName?: string | undefined;
|
|
7139
7139
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7140
|
-
|
|
7140
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
7141
7141
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7142
|
-
|
|
7142
|
+
xElasticDashPublicKey?: string | undefined;
|
|
7143
7143
|
/** Additional query string parameters to include in the request. */
|
|
7144
7144
|
queryParams?: Record<string, unknown>;
|
|
7145
7145
|
/** Additional headers to include in the request. */
|
|
@@ -7154,11 +7154,11 @@ declare class Scim {
|
|
|
7154
7154
|
*
|
|
7155
7155
|
* @param {Scim.RequestOptions} requestOptions - Request-specific configuration.
|
|
7156
7156
|
*
|
|
7157
|
-
* @throws {@link
|
|
7158
|
-
* @throws {@link
|
|
7159
|
-
* @throws {@link
|
|
7160
|
-
* @throws {@link
|
|
7161
|
-
* @throws {@link
|
|
7157
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7158
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7159
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7160
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7161
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7162
7162
|
*
|
|
7163
7163
|
* @example
|
|
7164
7164
|
* await client.scim.getServiceProviderConfig()
|
|
@@ -7170,11 +7170,11 @@ declare class Scim {
|
|
|
7170
7170
|
*
|
|
7171
7171
|
* @param {Scim.RequestOptions} requestOptions - Request-specific configuration.
|
|
7172
7172
|
*
|
|
7173
|
-
* @throws {@link
|
|
7174
|
-
* @throws {@link
|
|
7175
|
-
* @throws {@link
|
|
7176
|
-
* @throws {@link
|
|
7177
|
-
* @throws {@link
|
|
7173
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7174
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7175
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7176
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7177
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7178
7178
|
*
|
|
7179
7179
|
* @example
|
|
7180
7180
|
* await client.scim.getResourceTypes()
|
|
@@ -7186,11 +7186,11 @@ declare class Scim {
|
|
|
7186
7186
|
*
|
|
7187
7187
|
* @param {Scim.RequestOptions} requestOptions - Request-specific configuration.
|
|
7188
7188
|
*
|
|
7189
|
-
* @throws {@link
|
|
7190
|
-
* @throws {@link
|
|
7191
|
-
* @throws {@link
|
|
7192
|
-
* @throws {@link
|
|
7193
|
-
* @throws {@link
|
|
7189
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7190
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7191
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7192
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7193
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7194
7194
|
*
|
|
7195
7195
|
* @example
|
|
7196
7196
|
* await client.scim.getSchemas()
|
|
@@ -7200,14 +7200,14 @@ declare class Scim {
|
|
|
7200
7200
|
/**
|
|
7201
7201
|
* List users in the organization (requires organization-scoped API key)
|
|
7202
7202
|
*
|
|
7203
|
-
* @param {
|
|
7203
|
+
* @param {ElasticDashAPI.ListUsersRequest} request
|
|
7204
7204
|
* @param {Scim.RequestOptions} requestOptions - Request-specific configuration.
|
|
7205
7205
|
*
|
|
7206
|
-
* @throws {@link
|
|
7207
|
-
* @throws {@link
|
|
7208
|
-
* @throws {@link
|
|
7209
|
-
* @throws {@link
|
|
7210
|
-
* @throws {@link
|
|
7206
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7207
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7208
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7209
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7210
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7211
7211
|
*
|
|
7212
7212
|
* @example
|
|
7213
7213
|
* await client.scim.listUsers()
|
|
@@ -7217,14 +7217,14 @@ declare class Scim {
|
|
|
7217
7217
|
/**
|
|
7218
7218
|
* Create a new user in the organization (requires organization-scoped API key)
|
|
7219
7219
|
*
|
|
7220
|
-
* @param {
|
|
7220
|
+
* @param {ElasticDashAPI.CreateUserRequest} request
|
|
7221
7221
|
* @param {Scim.RequestOptions} requestOptions - Request-specific configuration.
|
|
7222
7222
|
*
|
|
7223
|
-
* @throws {@link
|
|
7224
|
-
* @throws {@link
|
|
7225
|
-
* @throws {@link
|
|
7226
|
-
* @throws {@link
|
|
7227
|
-
* @throws {@link
|
|
7223
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7224
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7225
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7226
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7227
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7228
7228
|
*
|
|
7229
7229
|
* @example
|
|
7230
7230
|
* await client.scim.createUser({
|
|
@@ -7245,11 +7245,11 @@ declare class Scim {
|
|
|
7245
7245
|
* @param {string} userId
|
|
7246
7246
|
* @param {Scim.RequestOptions} requestOptions - Request-specific configuration.
|
|
7247
7247
|
*
|
|
7248
|
-
* @throws {@link
|
|
7249
|
-
* @throws {@link
|
|
7250
|
-
* @throws {@link
|
|
7251
|
-
* @throws {@link
|
|
7252
|
-
* @throws {@link
|
|
7248
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7249
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7250
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7251
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7252
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7253
7253
|
*
|
|
7254
7254
|
* @example
|
|
7255
7255
|
* await client.scim.getUser("userId")
|
|
@@ -7262,11 +7262,11 @@ declare class Scim {
|
|
|
7262
7262
|
* @param {string} userId
|
|
7263
7263
|
* @param {Scim.RequestOptions} requestOptions - Request-specific configuration.
|
|
7264
7264
|
*
|
|
7265
|
-
* @throws {@link
|
|
7266
|
-
* @throws {@link
|
|
7267
|
-
* @throws {@link
|
|
7268
|
-
* @throws {@link
|
|
7269
|
-
* @throws {@link
|
|
7265
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7266
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7267
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7268
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7269
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7270
7270
|
*
|
|
7271
7271
|
* @example
|
|
7272
7272
|
* await client.scim.deleteUser("userId")
|
|
@@ -7288,11 +7288,11 @@ declare namespace ScoreConfigs {
|
|
|
7288
7288
|
username?: Supplier<string | undefined>;
|
|
7289
7289
|
password?: Supplier<string | undefined>;
|
|
7290
7290
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7291
|
-
|
|
7291
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
7292
7292
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7293
|
-
|
|
7293
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
7294
7294
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7295
|
-
|
|
7295
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
7296
7296
|
/** Additional headers to include in requests. */
|
|
7297
7297
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
7298
7298
|
}
|
|
@@ -7304,11 +7304,11 @@ declare namespace ScoreConfigs {
|
|
|
7304
7304
|
/** A hook to abort the request. */
|
|
7305
7305
|
abortSignal?: AbortSignal;
|
|
7306
7306
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7307
|
-
|
|
7307
|
+
xElasticDashSdkName?: string | undefined;
|
|
7308
7308
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7309
|
-
|
|
7309
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
7310
7310
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7311
|
-
|
|
7311
|
+
xElasticDashPublicKey?: string | undefined;
|
|
7312
7312
|
/** Additional query string parameters to include in the request. */
|
|
7313
7313
|
queryParams?: Record<string, unknown>;
|
|
7314
7314
|
/** Additional headers to include in the request. */
|
|
@@ -7321,14 +7321,14 @@ declare class ScoreConfigs {
|
|
|
7321
7321
|
/**
|
|
7322
7322
|
* Create a score configuration (config). Score configs are used to define the structure of scores
|
|
7323
7323
|
*
|
|
7324
|
-
* @param {
|
|
7324
|
+
* @param {ElasticDashAPI.CreateScoreConfigRequest} request
|
|
7325
7325
|
* @param {ScoreConfigs.RequestOptions} requestOptions - Request-specific configuration.
|
|
7326
7326
|
*
|
|
7327
|
-
* @throws {@link
|
|
7328
|
-
* @throws {@link
|
|
7329
|
-
* @throws {@link
|
|
7330
|
-
* @throws {@link
|
|
7331
|
-
* @throws {@link
|
|
7327
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7328
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7329
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7330
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7331
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7332
7332
|
*
|
|
7333
7333
|
* @example
|
|
7334
7334
|
* await client.scoreConfigs.create({
|
|
@@ -7345,14 +7345,14 @@ declare class ScoreConfigs {
|
|
|
7345
7345
|
/**
|
|
7346
7346
|
* Get all score configs
|
|
7347
7347
|
*
|
|
7348
|
-
* @param {
|
|
7348
|
+
* @param {ElasticDashAPI.GetScoreConfigsRequest} request
|
|
7349
7349
|
* @param {ScoreConfigs.RequestOptions} requestOptions - Request-specific configuration.
|
|
7350
7350
|
*
|
|
7351
|
-
* @throws {@link
|
|
7352
|
-
* @throws {@link
|
|
7353
|
-
* @throws {@link
|
|
7354
|
-
* @throws {@link
|
|
7355
|
-
* @throws {@link
|
|
7351
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7352
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7353
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7354
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7355
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7356
7356
|
*
|
|
7357
7357
|
* @example
|
|
7358
7358
|
* await client.scoreConfigs.get()
|
|
@@ -7365,11 +7365,11 @@ declare class ScoreConfigs {
|
|
|
7365
7365
|
* @param {string} configId - The unique elasticdash identifier of a score config
|
|
7366
7366
|
* @param {ScoreConfigs.RequestOptions} requestOptions - Request-specific configuration.
|
|
7367
7367
|
*
|
|
7368
|
-
* @throws {@link
|
|
7369
|
-
* @throws {@link
|
|
7370
|
-
* @throws {@link
|
|
7371
|
-
* @throws {@link
|
|
7372
|
-
* @throws {@link
|
|
7368
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7369
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7370
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7371
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7372
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7373
7373
|
*
|
|
7374
7374
|
* @example
|
|
7375
7375
|
* await client.scoreConfigs.getById("configId")
|
|
@@ -7380,14 +7380,14 @@ declare class ScoreConfigs {
|
|
|
7380
7380
|
* Update a score config
|
|
7381
7381
|
*
|
|
7382
7382
|
* @param {string} configId - The unique elasticdash identifier of a score config
|
|
7383
|
-
* @param {
|
|
7383
|
+
* @param {ElasticDashAPI.UpdateScoreConfigRequest} request
|
|
7384
7384
|
* @param {ScoreConfigs.RequestOptions} requestOptions - Request-specific configuration.
|
|
7385
7385
|
*
|
|
7386
|
-
* @throws {@link
|
|
7387
|
-
* @throws {@link
|
|
7388
|
-
* @throws {@link
|
|
7389
|
-
* @throws {@link
|
|
7390
|
-
* @throws {@link
|
|
7386
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7387
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7388
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7389
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7390
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7391
7391
|
*
|
|
7392
7392
|
* @example
|
|
7393
7393
|
* await client.scoreConfigs.update("configId", {
|
|
@@ -7416,11 +7416,11 @@ declare namespace ScoreV2 {
|
|
|
7416
7416
|
username?: Supplier<string | undefined>;
|
|
7417
7417
|
password?: Supplier<string | undefined>;
|
|
7418
7418
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7419
|
-
|
|
7419
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
7420
7420
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7421
|
-
|
|
7421
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
7422
7422
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7423
|
-
|
|
7423
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
7424
7424
|
/** Additional headers to include in requests. */
|
|
7425
7425
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
7426
7426
|
}
|
|
@@ -7432,11 +7432,11 @@ declare namespace ScoreV2 {
|
|
|
7432
7432
|
/** A hook to abort the request. */
|
|
7433
7433
|
abortSignal?: AbortSignal;
|
|
7434
7434
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7435
|
-
|
|
7435
|
+
xElasticDashSdkName?: string | undefined;
|
|
7436
7436
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7437
|
-
|
|
7437
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
7438
7438
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7439
|
-
|
|
7439
|
+
xElasticDashPublicKey?: string | undefined;
|
|
7440
7440
|
/** Additional query string parameters to include in the request. */
|
|
7441
7441
|
queryParams?: Record<string, unknown>;
|
|
7442
7442
|
/** Additional headers to include in the request. */
|
|
@@ -7449,14 +7449,14 @@ declare class ScoreV2 {
|
|
|
7449
7449
|
/**
|
|
7450
7450
|
* Get a list of scores (supports both trace and session scores)
|
|
7451
7451
|
*
|
|
7452
|
-
* @param {
|
|
7452
|
+
* @param {ElasticDashAPI.GetScoresRequest} request
|
|
7453
7453
|
* @param {ScoreV2.RequestOptions} requestOptions - Request-specific configuration.
|
|
7454
7454
|
*
|
|
7455
|
-
* @throws {@link
|
|
7456
|
-
* @throws {@link
|
|
7457
|
-
* @throws {@link
|
|
7458
|
-
* @throws {@link
|
|
7459
|
-
* @throws {@link
|
|
7455
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7456
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7457
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7458
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7459
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7460
7460
|
*
|
|
7461
7461
|
* @example
|
|
7462
7462
|
* await client.scoreV2.get()
|
|
@@ -7469,11 +7469,11 @@ declare class ScoreV2 {
|
|
|
7469
7469
|
* @param {string} scoreId - The unique elasticdash identifier of a score
|
|
7470
7470
|
* @param {ScoreV2.RequestOptions} requestOptions - Request-specific configuration.
|
|
7471
7471
|
*
|
|
7472
|
-
* @throws {@link
|
|
7473
|
-
* @throws {@link
|
|
7474
|
-
* @throws {@link
|
|
7475
|
-
* @throws {@link
|
|
7476
|
-
* @throws {@link
|
|
7472
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7473
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7474
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7475
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7476
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7477
7477
|
*
|
|
7478
7478
|
* @example
|
|
7479
7479
|
* await client.scoreV2.getById("scoreId")
|
|
@@ -7495,11 +7495,11 @@ declare namespace Score {
|
|
|
7495
7495
|
username?: Supplier<string | undefined>;
|
|
7496
7496
|
password?: Supplier<string | undefined>;
|
|
7497
7497
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7498
|
-
|
|
7498
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
7499
7499
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7500
|
-
|
|
7500
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
7501
7501
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7502
|
-
|
|
7502
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
7503
7503
|
/** Additional headers to include in requests. */
|
|
7504
7504
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
7505
7505
|
}
|
|
@@ -7511,11 +7511,11 @@ declare namespace Score {
|
|
|
7511
7511
|
/** A hook to abort the request. */
|
|
7512
7512
|
abortSignal?: AbortSignal;
|
|
7513
7513
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7514
|
-
|
|
7514
|
+
xElasticDashSdkName?: string | undefined;
|
|
7515
7515
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7516
|
-
|
|
7516
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
7517
7517
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7518
|
-
|
|
7518
|
+
xElasticDashPublicKey?: string | undefined;
|
|
7519
7519
|
/** Additional query string parameters to include in the request. */
|
|
7520
7520
|
queryParams?: Record<string, unknown>;
|
|
7521
7521
|
/** Additional headers to include in the request. */
|
|
@@ -7528,14 +7528,14 @@ declare class Score {
|
|
|
7528
7528
|
/**
|
|
7529
7529
|
* Create a score (supports both trace and session scores)
|
|
7530
7530
|
*
|
|
7531
|
-
* @param {
|
|
7531
|
+
* @param {ElasticDashAPI.CreateScoreRequest} request
|
|
7532
7532
|
* @param {Score.RequestOptions} requestOptions - Request-specific configuration.
|
|
7533
7533
|
*
|
|
7534
|
-
* @throws {@link
|
|
7535
|
-
* @throws {@link
|
|
7536
|
-
* @throws {@link
|
|
7537
|
-
* @throws {@link
|
|
7538
|
-
* @throws {@link
|
|
7534
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7535
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7536
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7537
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7538
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7539
7539
|
*
|
|
7540
7540
|
* @example
|
|
7541
7541
|
* await client.score.create({
|
|
@@ -7562,11 +7562,11 @@ declare class Score {
|
|
|
7562
7562
|
* @param {string} scoreId - The unique elasticdash identifier of a score
|
|
7563
7563
|
* @param {Score.RequestOptions} requestOptions - Request-specific configuration.
|
|
7564
7564
|
*
|
|
7565
|
-
* @throws {@link
|
|
7566
|
-
* @throws {@link
|
|
7567
|
-
* @throws {@link
|
|
7568
|
-
* @throws {@link
|
|
7569
|
-
* @throws {@link
|
|
7565
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7566
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7567
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7568
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7569
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7570
7570
|
*
|
|
7571
7571
|
* @example
|
|
7572
7572
|
* await client.score.delete("scoreId")
|
|
@@ -7588,11 +7588,11 @@ declare namespace Sessions {
|
|
|
7588
7588
|
username?: Supplier<string | undefined>;
|
|
7589
7589
|
password?: Supplier<string | undefined>;
|
|
7590
7590
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7591
|
-
|
|
7591
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
7592
7592
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7593
|
-
|
|
7593
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
7594
7594
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7595
|
-
|
|
7595
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
7596
7596
|
/** Additional headers to include in requests. */
|
|
7597
7597
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
7598
7598
|
}
|
|
@@ -7604,11 +7604,11 @@ declare namespace Sessions {
|
|
|
7604
7604
|
/** A hook to abort the request. */
|
|
7605
7605
|
abortSignal?: AbortSignal;
|
|
7606
7606
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7607
|
-
|
|
7607
|
+
xElasticDashSdkName?: string | undefined;
|
|
7608
7608
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7609
|
-
|
|
7609
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
7610
7610
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7611
|
-
|
|
7611
|
+
xElasticDashPublicKey?: string | undefined;
|
|
7612
7612
|
/** Additional query string parameters to include in the request. */
|
|
7613
7613
|
queryParams?: Record<string, unknown>;
|
|
7614
7614
|
/** Additional headers to include in the request. */
|
|
@@ -7621,14 +7621,14 @@ declare class Sessions {
|
|
|
7621
7621
|
/**
|
|
7622
7622
|
* Get sessions
|
|
7623
7623
|
*
|
|
7624
|
-
* @param {
|
|
7624
|
+
* @param {ElasticDashAPI.GetSessionsRequest} request
|
|
7625
7625
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
7626
7626
|
*
|
|
7627
|
-
* @throws {@link
|
|
7628
|
-
* @throws {@link
|
|
7629
|
-
* @throws {@link
|
|
7630
|
-
* @throws {@link
|
|
7631
|
-
* @throws {@link
|
|
7627
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7628
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7629
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7630
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7631
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7632
7632
|
*
|
|
7633
7633
|
* @example
|
|
7634
7634
|
* await client.sessions.list()
|
|
@@ -7641,11 +7641,11 @@ declare class Sessions {
|
|
|
7641
7641
|
* @param {string} sessionId - The unique id of a session
|
|
7642
7642
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
7643
7643
|
*
|
|
7644
|
-
* @throws {@link
|
|
7645
|
-
* @throws {@link
|
|
7646
|
-
* @throws {@link
|
|
7647
|
-
* @throws {@link
|
|
7648
|
-
* @throws {@link
|
|
7644
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7645
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7646
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7647
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7648
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7649
7649
|
*
|
|
7650
7650
|
* @example
|
|
7651
7651
|
* await client.sessions.get("sessionId")
|
|
@@ -7667,11 +7667,11 @@ declare namespace Trace {
|
|
|
7667
7667
|
username?: Supplier<string | undefined>;
|
|
7668
7668
|
password?: Supplier<string | undefined>;
|
|
7669
7669
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7670
|
-
|
|
7670
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
7671
7671
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7672
|
-
|
|
7672
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
7673
7673
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7674
|
-
|
|
7674
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
7675
7675
|
/** Additional headers to include in requests. */
|
|
7676
7676
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
7677
7677
|
}
|
|
@@ -7683,11 +7683,11 @@ declare namespace Trace {
|
|
|
7683
7683
|
/** A hook to abort the request. */
|
|
7684
7684
|
abortSignal?: AbortSignal;
|
|
7685
7685
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7686
|
-
|
|
7686
|
+
xElasticDashSdkName?: string | undefined;
|
|
7687
7687
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7688
|
-
|
|
7688
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
7689
7689
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7690
|
-
|
|
7690
|
+
xElasticDashPublicKey?: string | undefined;
|
|
7691
7691
|
/** Additional query string parameters to include in the request. */
|
|
7692
7692
|
queryParams?: Record<string, unknown>;
|
|
7693
7693
|
/** Additional headers to include in the request. */
|
|
@@ -7703,11 +7703,11 @@ declare class Trace {
|
|
|
7703
7703
|
* @param {string} traceId - The unique elasticdash identifier of a trace
|
|
7704
7704
|
* @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
|
|
7705
7705
|
*
|
|
7706
|
-
* @throws {@link
|
|
7707
|
-
* @throws {@link
|
|
7708
|
-
* @throws {@link
|
|
7709
|
-
* @throws {@link
|
|
7710
|
-
* @throws {@link
|
|
7706
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7707
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7708
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7709
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7710
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7711
7711
|
*
|
|
7712
7712
|
* @example
|
|
7713
7713
|
* await client.trace.get("traceId")
|
|
@@ -7720,11 +7720,11 @@ declare class Trace {
|
|
|
7720
7720
|
* @param {string} traceId - The unique elasticdash identifier of the trace to delete
|
|
7721
7721
|
* @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
|
|
7722
7722
|
*
|
|
7723
|
-
* @throws {@link
|
|
7724
|
-
* @throws {@link
|
|
7725
|
-
* @throws {@link
|
|
7726
|
-
* @throws {@link
|
|
7727
|
-
* @throws {@link
|
|
7723
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7724
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7725
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7726
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7727
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7728
7728
|
*
|
|
7729
7729
|
* @example
|
|
7730
7730
|
* await client.trace.delete("traceId")
|
|
@@ -7734,14 +7734,14 @@ declare class Trace {
|
|
|
7734
7734
|
/**
|
|
7735
7735
|
* Get list of traces
|
|
7736
7736
|
*
|
|
7737
|
-
* @param {
|
|
7737
|
+
* @param {ElasticDashAPI.GetTracesRequest} request
|
|
7738
7738
|
* @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
|
|
7739
7739
|
*
|
|
7740
|
-
* @throws {@link
|
|
7741
|
-
* @throws {@link
|
|
7742
|
-
* @throws {@link
|
|
7743
|
-
* @throws {@link
|
|
7744
|
-
* @throws {@link
|
|
7740
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7741
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7742
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7743
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7744
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7745
7745
|
*
|
|
7746
7746
|
* @example
|
|
7747
7747
|
* await client.trace.list()
|
|
@@ -7751,14 +7751,14 @@ declare class Trace {
|
|
|
7751
7751
|
/**
|
|
7752
7752
|
* Delete multiple traces
|
|
7753
7753
|
*
|
|
7754
|
-
* @param {
|
|
7754
|
+
* @param {ElasticDashAPI.DeleteTracesRequest} request
|
|
7755
7755
|
* @param {Trace.RequestOptions} requestOptions - Request-specific configuration.
|
|
7756
7756
|
*
|
|
7757
|
-
* @throws {@link
|
|
7758
|
-
* @throws {@link
|
|
7759
|
-
* @throws {@link
|
|
7760
|
-
* @throws {@link
|
|
7761
|
-
* @throws {@link
|
|
7757
|
+
* @throws {@link ElasticDashAPI.Error}
|
|
7758
|
+
* @throws {@link ElasticDashAPI.UnauthorizedError}
|
|
7759
|
+
* @throws {@link ElasticDashAPI.AccessDeniedError}
|
|
7760
|
+
* @throws {@link ElasticDashAPI.MethodNotAllowedError}
|
|
7761
|
+
* @throws {@link ElasticDashAPI.NotFoundError}
|
|
7762
7762
|
*
|
|
7763
7763
|
* @example
|
|
7764
7764
|
* await client.trace.deleteMultiple({
|
|
@@ -7774,7 +7774,7 @@ declare class Trace {
|
|
|
7774
7774
|
* This file was auto-generated by Fern from our API Definition.
|
|
7775
7775
|
*/
|
|
7776
7776
|
|
|
7777
|
-
declare namespace
|
|
7777
|
+
declare namespace ElasticDashAPIClient {
|
|
7778
7778
|
interface Options {
|
|
7779
7779
|
environment: Supplier<string>;
|
|
7780
7780
|
/** Specify a custom URL to connect the client to. */
|
|
@@ -7782,11 +7782,11 @@ declare namespace LangfuseAPIClient {
|
|
|
7782
7782
|
username?: Supplier<string | undefined>;
|
|
7783
7783
|
password?: Supplier<string | undefined>;
|
|
7784
7784
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7785
|
-
|
|
7785
|
+
xElasticDashSdkName?: Supplier<string | undefined>;
|
|
7786
7786
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7787
|
-
|
|
7787
|
+
xElasticDashSdkVersion?: Supplier<string | undefined>;
|
|
7788
7788
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7789
|
-
|
|
7789
|
+
xElasticDashPublicKey?: Supplier<string | undefined>;
|
|
7790
7790
|
/** Additional headers to include in requests. */
|
|
7791
7791
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
7792
7792
|
}
|
|
@@ -7798,19 +7798,19 @@ declare namespace LangfuseAPIClient {
|
|
|
7798
7798
|
/** A hook to abort the request. */
|
|
7799
7799
|
abortSignal?: AbortSignal;
|
|
7800
7800
|
/** Override the X-ElasticDash-Sdk-Name header */
|
|
7801
|
-
|
|
7801
|
+
xElasticDashSdkName?: string | undefined;
|
|
7802
7802
|
/** Override the X-ElasticDash-Sdk-Version header */
|
|
7803
|
-
|
|
7803
|
+
xElasticDashSdkVersion?: string | undefined;
|
|
7804
7804
|
/** Override the X-ElasticDash-Public-Key header */
|
|
7805
|
-
|
|
7805
|
+
xElasticDashPublicKey?: string | undefined;
|
|
7806
7806
|
/** Additional query string parameters to include in the request. */
|
|
7807
7807
|
queryParams?: Record<string, unknown>;
|
|
7808
7808
|
/** Additional headers to include in the request. */
|
|
7809
7809
|
headers?: Record<string, string | Supplier<string | null | undefined> | null | undefined>;
|
|
7810
7810
|
}
|
|
7811
7811
|
}
|
|
7812
|
-
declare class
|
|
7813
|
-
protected readonly _options:
|
|
7812
|
+
declare class ElasticDashAPIClient {
|
|
7813
|
+
protected readonly _options: ElasticDashAPIClient.Options;
|
|
7814
7814
|
protected _annotationQueues: AnnotationQueues | undefined;
|
|
7815
7815
|
protected _blobStorageIntegrations: BlobStorageIntegrations | undefined;
|
|
7816
7816
|
protected _comments: Comments | undefined;
|
|
@@ -7837,7 +7837,7 @@ declare class LangfuseAPIClient {
|
|
|
7837
7837
|
protected _score: Score | undefined;
|
|
7838
7838
|
protected _sessions: Sessions | undefined;
|
|
7839
7839
|
protected _trace: Trace | undefined;
|
|
7840
|
-
constructor(_options:
|
|
7840
|
+
constructor(_options: ElasticDashAPIClient.Options);
|
|
7841
7841
|
get annotationQueues(): AnnotationQueues;
|
|
7842
7842
|
get blobStorageIntegrations(): BlobStorageIntegrations;
|
|
7843
7843
|
get comments(): Comments;
|
|
@@ -7866,8 +7866,8 @@ declare class LangfuseAPIClient {
|
|
|
7866
7866
|
get trace(): Trace;
|
|
7867
7867
|
}
|
|
7868
7868
|
|
|
7869
|
-
type
|
|
7870
|
-
declare function getEnv(key:
|
|
7869
|
+
type ElasticDashEnvVar = "ELASTICDASH_PUBLIC_KEY" | "ELASTICDASH_SECRET_KEY" | "ELASTICDASH_BASE_URL" | "ELASTICDASH_BASEURL" | "ELASTICDASH_TIMEOUT" | "ELASTICDASH_FLUSH_AT" | "ELASTICDASH_FLUSH_INTERVAL" | "ELASTICDASH_LOG_LEVEL" | "ELASTICDASH_RELEASE" | "ELASTICDASH_TRACING_ENVIRONMENT";
|
|
7870
|
+
declare function getEnv(key: ElasticDashEnvVar): string | undefined;
|
|
7871
7871
|
declare function generateUUID(globalThis?: any): string;
|
|
7872
7872
|
declare function safeSetTimeout(fn: () => void, timeout: number): any;
|
|
7873
7873
|
declare function base64ToBytes(base64: string): Uint8Array;
|
|
@@ -7899,7 +7899,7 @@ type ParsedMediaReference = {
|
|
|
7899
7899
|
};
|
|
7900
7900
|
|
|
7901
7901
|
/**
|
|
7902
|
-
* Parameters for creating a
|
|
7902
|
+
* Parameters for creating a ElasticDashMedia instance.
|
|
7903
7903
|
*
|
|
7904
7904
|
* Supports two input formats:
|
|
7905
7905
|
* - Base64 data URI (e.g., "data:image/png;base64,...")
|
|
@@ -7907,7 +7907,7 @@ type ParsedMediaReference = {
|
|
|
7907
7907
|
*
|
|
7908
7908
|
* @public
|
|
7909
7909
|
*/
|
|
7910
|
-
type
|
|
7910
|
+
type ElasticDashMediaParams = {
|
|
7911
7911
|
/** Indicates the media is provided as a base64 data URI */
|
|
7912
7912
|
source: "base64_data_uri";
|
|
7913
7913
|
/** The complete base64 data URI string */
|
|
@@ -7933,13 +7933,13 @@ type LangfuseMediaParams = {
|
|
|
7933
7933
|
* @example
|
|
7934
7934
|
* ```typescript
|
|
7935
7935
|
* // From base64 data URI
|
|
7936
|
-
* const media1 = new
|
|
7936
|
+
* const media1 = new ElasticDashMedia({
|
|
7937
7937
|
* source: "base64_data_uri",
|
|
7938
7938
|
* base64DataUri: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="
|
|
7939
7939
|
* });
|
|
7940
7940
|
*
|
|
7941
7941
|
* // From raw bytes
|
|
7942
|
-
* const media2 = new
|
|
7942
|
+
* const media2 = new ElasticDashMedia({
|
|
7943
7943
|
* source: "bytes",
|
|
7944
7944
|
* contentBytes: new Uint8Array([72, 101, 108, 108, 111])
|
|
7945
7945
|
* contentType: "text/plain"
|
|
@@ -7951,25 +7951,25 @@ type LangfuseMediaParams = {
|
|
|
7951
7951
|
*
|
|
7952
7952
|
* @public
|
|
7953
7953
|
*/
|
|
7954
|
-
declare class
|
|
7954
|
+
declare class ElasticDashMedia {
|
|
7955
7955
|
_contentBytes?: Uint8Array;
|
|
7956
7956
|
_contentType?: MediaContentType;
|
|
7957
7957
|
_source?: string;
|
|
7958
7958
|
/**
|
|
7959
|
-
* Creates a new
|
|
7959
|
+
* Creates a new ElasticDashMedia instance.
|
|
7960
7960
|
*
|
|
7961
7961
|
* @param params - Media parameters specifying the source and content
|
|
7962
7962
|
*
|
|
7963
7963
|
* @example
|
|
7964
7964
|
* ```typescript
|
|
7965
7965
|
* // Create from base64 data URI
|
|
7966
|
-
* const media = new
|
|
7966
|
+
* const media = new ElasticDashMedia({
|
|
7967
7967
|
* source: "base64_data_uri",
|
|
7968
7968
|
* base64DataUri: "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ..."
|
|
7969
7969
|
* });
|
|
7970
7970
|
* ```
|
|
7971
7971
|
*/
|
|
7972
|
-
constructor(params:
|
|
7972
|
+
constructor(params: ElasticDashMediaParams);
|
|
7973
7973
|
/**
|
|
7974
7974
|
* Parses a base64 data URI to extract content bytes and type.
|
|
7975
7975
|
*
|
|
@@ -7988,7 +7988,7 @@ declare class LangfuseMedia {
|
|
|
7988
7988
|
*
|
|
7989
7989
|
* @example
|
|
7990
7990
|
* ```typescript
|
|
7991
|
-
* const media = new
|
|
7991
|
+
* const media = new ElasticDashMedia({...});
|
|
7992
7992
|
* console.log(media.id); // "A1B2C3D4E5F6G7H8I9J0K1"
|
|
7993
7993
|
* ```
|
|
7994
7994
|
*/
|
|
@@ -8011,7 +8011,7 @@ declare class LangfuseMedia {
|
|
|
8011
8011
|
/**
|
|
8012
8012
|
* Gets the media reference tag for embedding in trace data.
|
|
8013
8013
|
*
|
|
8014
|
-
* The tag format is: `@@@
|
|
8014
|
+
* The tag format is: `@@@elasticDashMedia:type=<contentType>|id=<mediaId>|source=<source>@@@`
|
|
8015
8015
|
* This tag can be embedded in trace attributes and will be replaced with actual
|
|
8016
8016
|
* media content when the trace is viewed in ElasticDash.
|
|
8017
8017
|
*
|
|
@@ -8019,9 +8019,9 @@ declare class LangfuseMedia {
|
|
|
8019
8019
|
*
|
|
8020
8020
|
* @example
|
|
8021
8021
|
* ```typescript
|
|
8022
|
-
* const media = new
|
|
8022
|
+
* const media = new ElasticDashMedia({...});
|
|
8023
8023
|
* console.log(media.tag);
|
|
8024
|
-
* // "@@@
|
|
8024
|
+
* // "@@@elasticDashMedia:type=image/png|id=A1B2C3D4E5F6G7H8I9J0K1|source=base64_data_uri@@@"
|
|
8025
8025
|
* ```
|
|
8026
8026
|
*/
|
|
8027
8027
|
getTag(): Promise<string | null>;
|
|
@@ -8032,7 +8032,7 @@ declare class LangfuseMedia {
|
|
|
8032
8032
|
*
|
|
8033
8033
|
* @example
|
|
8034
8034
|
* ```typescript
|
|
8035
|
-
* const media = new
|
|
8035
|
+
* const media = new ElasticDashMedia({...});
|
|
8036
8036
|
* console.log(media.base64DataUri);
|
|
8037
8037
|
* // "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAB..."
|
|
8038
8038
|
* ```
|
|
@@ -8067,7 +8067,7 @@ type PropagatedExperimentAttributes = {
|
|
|
8067
8067
|
experimentItemMetadata?: string;
|
|
8068
8068
|
experimentItemRootObservationId: string;
|
|
8069
8069
|
};
|
|
8070
|
-
declare const
|
|
8070
|
+
declare const ElasticDashOtelContextKeys: Record<PropagatedKey, symbol>;
|
|
8071
8071
|
/**
|
|
8072
8072
|
* Parameters for propagateAttributes function.
|
|
8073
8073
|
*
|
|
@@ -8233,4 +8233,4 @@ interface PropagateAttributesParams {
|
|
|
8233
8233
|
declare function propagateAttributes<A extends unknown[], F extends (...args: A) => ReturnType<F>>(params: PropagateAttributesParams, fn: F): ReturnType<F>;
|
|
8234
8234
|
declare function getPropagatedAttributesFromContext(context: Context): Record<string, string | string[]>;
|
|
8235
8235
|
|
|
8236
|
-
export { AccessDeniedError, type AnnotationQueue, type AnnotationQueueAssignmentRequest, type AnnotationQueueItem, AnnotationQueueObjectType, AnnotationQueueStatus, type ApiKeyDeletionResponse, type ApiKeyList, type ApiKeyResponse, type ApiKeySummary, type AuthenticationScheme, type BaseEvent, type BasePrompt, type BaseScore, type BaseScoreV1, BlobStorageExportFrequency, BlobStorageExportMode, type BlobStorageIntegrationDeletionResponse, BlobStorageIntegrationFileType, type BlobStorageIntegrationResponse, BlobStorageIntegrationType, type BlobStorageIntegrationsResponse, type BooleanScore, type BooleanScoreV1, type BulkConfig, type CategoricalScore, type CategoricalScoreV1, type ChatMessage, ChatMessageWithPlaceholders, type ChatPrompt, type Comment, CommentObjectType, type ConfigCategory, type CreateAnnotationQueueAssignmentResponse, type CreateAnnotationQueueItemRequest, type CreateAnnotationQueueRequest, type CreateApiKeyRequest, type CreateBlobStorageIntegrationRequest, type CreateChatPromptRequest, type CreateCommentRequest, type CreateCommentResponse, type CreateDatasetItemRequest, type CreateDatasetRequest, type CreateDatasetRunItemRequest, type CreateEventBody, type CreateEventEvent, type CreateGenerationBody, type CreateGenerationEvent, type CreateModelRequest, type CreateObservationEvent, type CreateProjectRequest, CreatePromptRequest, type CreateScoreConfigRequest, type CreateScoreRequest, type CreateScoreResponse, type CreateScoreValue, type CreateSpanBody, type CreateSpanEvent, type CreateTextPromptRequest, type CreateUserRequest, type Dataset, type DatasetItem, type DatasetRun, type DatasetRunItem, type DatasetRunWithItems, DatasetStatus, type DeleteAnnotationQueueAssignmentResponse, type DeleteAnnotationQueueItemResponse, type DeleteDatasetItemResponse, type DeleteDatasetRunResponse, type DeleteMembershipRequest, type DeletePromptRequest, type DeleteTraceResponse, type DeleteTracesRequest, ELASTICDASH_SDK_EXPERIMENT_ENVIRONMENT, ELASTICDASH_SDK_NAME, ELASTICDASH_SDK_VERSION, ELASTICDASH_TRACER_NAME, type ElasticDashEnvVar, type EmptyResponse, Error$1 as Error, type FilterConfig, type GetAnnotationQueueItemsRequest, type GetAnnotationQueuesRequest, type GetCommentsRequest, type GetCommentsResponse, type GetDatasetItemsRequest, type GetDatasetRunsRequest, type GetDatasetsRequest, type GetLlmConnectionsRequest, type GetMediaResponse, type GetMediaUploadUrlRequest, type GetMediaUploadUrlResponse, type GetMetricsRequest, type GetMetricsV2Request, type GetModelsRequest, type GetObservationsRequest, type GetObservationsV2Request, type GetPromptRequest, type GetScoreConfigsRequest, type GetScoresRequest, type GetScoresResponse, GetScoresResponseData, type GetScoresResponseDataBoolean, type GetScoresResponseDataCategorical, type GetScoresResponseDataNumeric, type GetScoresResponseTraceData, type GetSessionsRequest, type GetTracesRequest, type HealthResponse, type IngestionError, IngestionEvent, type IngestionRequest, type IngestionResponse, type IngestionSuccess, type IngestionUsage,
|
|
8236
|
+
export { AccessDeniedError, type AnnotationQueue, type AnnotationQueueAssignmentRequest, type AnnotationQueueItem, AnnotationQueueObjectType, AnnotationQueueStatus, type ApiKeyDeletionResponse, type ApiKeyList, type ApiKeyResponse, type ApiKeySummary, type AuthenticationScheme, type BaseEvent, type BasePrompt, type BaseScore, type BaseScoreV1, BlobStorageExportFrequency, BlobStorageExportMode, type BlobStorageIntegrationDeletionResponse, BlobStorageIntegrationFileType, type BlobStorageIntegrationResponse, BlobStorageIntegrationType, type BlobStorageIntegrationsResponse, type BooleanScore, type BooleanScoreV1, type BulkConfig, type CategoricalScore, type CategoricalScoreV1, type ChatMessage, ChatMessageWithPlaceholders, type ChatPrompt, type Comment, CommentObjectType, type ConfigCategory, type CreateAnnotationQueueAssignmentResponse, type CreateAnnotationQueueItemRequest, type CreateAnnotationQueueRequest, type CreateApiKeyRequest, type CreateBlobStorageIntegrationRequest, type CreateChatPromptRequest, type CreateCommentRequest, type CreateCommentResponse, type CreateDatasetItemRequest, type CreateDatasetRequest, type CreateDatasetRunItemRequest, type CreateEventBody, type CreateEventEvent, type CreateGenerationBody, type CreateGenerationEvent, type CreateModelRequest, type CreateObservationEvent, type CreateProjectRequest, CreatePromptRequest, type CreateScoreConfigRequest, type CreateScoreRequest, type CreateScoreResponse, type CreateScoreValue, type CreateSpanBody, type CreateSpanEvent, type CreateTextPromptRequest, type CreateUserRequest, type Dataset, type DatasetItem, type DatasetRun, type DatasetRunItem, type DatasetRunWithItems, DatasetStatus, type DeleteAnnotationQueueAssignmentResponse, type DeleteAnnotationQueueItemResponse, type DeleteDatasetItemResponse, type DeleteDatasetRunResponse, type DeleteMembershipRequest, type DeletePromptRequest, type DeleteTraceResponse, type DeleteTracesRequest, ELASTICDASH_SDK_EXPERIMENT_ENVIRONMENT, ELASTICDASH_SDK_NAME, ELASTICDASH_SDK_VERSION, ELASTICDASH_TRACER_NAME, ElasticDashAPIClient, ElasticDashAPIError, ElasticDashAPITimeoutError, type ElasticDashEnvVar$1 as ElasticDashEnvVar, ElasticDashMedia, type ElasticDashMediaParams, ElasticDashOtelContextKeys, ElasticDashOtelSpanAttributes, type EmptyResponse, Error$1 as Error, type FilterConfig, type GetAnnotationQueueItemsRequest, type GetAnnotationQueuesRequest, type GetCommentsRequest, type GetCommentsResponse, type GetDatasetItemsRequest, type GetDatasetRunsRequest, type GetDatasetsRequest, type GetLlmConnectionsRequest, type GetMediaResponse, type GetMediaUploadUrlRequest, type GetMediaUploadUrlResponse, type GetMetricsRequest, type GetMetricsV2Request, type GetModelsRequest, type GetObservationsRequest, type GetObservationsV2Request, type GetPromptRequest, type GetScoreConfigsRequest, type GetScoresRequest, type GetScoresResponse, GetScoresResponseData, type GetScoresResponseDataBoolean, type GetScoresResponseDataCategorical, type GetScoresResponseDataNumeric, type GetScoresResponseTraceData, type GetSessionsRequest, type GetTracesRequest, type HealthResponse, type IngestionError, IngestionEvent, type IngestionRequest, type IngestionResponse, type IngestionSuccess, type IngestionUsage, type ListDatasetRunItemsRequest, type ListPromptsMetaRequest, type ListUsersRequest, LlmAdapter, type LlmConnection, LogLevel, Logger, type LoggerConfig, type MapValue, MediaContentType, type MembershipDeletionResponse, type MembershipRequest, type MembershipResponse, MembershipRole, type MembershipsResponse, MethodNotAllowedError, type MetricsResponse, type MetricsV2Response, type Model, type ModelPrice, ModelUsageUnit, NotFoundError, type NumericScore, type NumericScoreV1, type Observation, type ObservationBody, ObservationLevel, ObservationType, type Observations$1 as Observations, type ObservationsV2Meta, type ObservationsV2Response, type ObservationsView, type ObservationsViews, type OpenAiCompletionUsageSchema, type OpenAiResponseUsageSchema, type OpenAiUsage, type OptionalObservationBody, type Organization, type OrganizationApiKey, type OrganizationApiKeysResponse, type OrganizationProject, type OrganizationProjectsResponse, type OtelAttribute, type OtelAttributeValue, type OtelResource, type OtelResourceSpan, type OtelScope, type OtelScopeSpan, type OtelSpan, type OtelTraceRequest, type OtelTraceResponse, type PaginatedAnnotationQueueItems, type PaginatedAnnotationQueues, type PaginatedDatasetItems, type PaginatedDatasetRunItems, type PaginatedDatasetRuns, type PaginatedDatasets, type PaginatedLlmConnections, type PaginatedModels, type PaginatedSessions, type ParsedMediaReference, type PatchMediaBody, type PlaceholderMessage, type PricingTier, type PricingTierCondition, type PricingTierInput, PricingTierOperator, type Project, type ProjectDeletionResponse, type Projects$1 as Projects, Prompt, type PromptMeta, type PromptMetaListResponse, PromptType, type PropagateAttributesParams, type ResourceMeta, type ResourceType, type ResourceTypesResponse, type SchemaExtension, type SchemaResource, type SchemasResponse, type ScimEmail, type ScimFeatureSupport, type ScimName, type ScimUser, type ScimUsersListResponse, Score$1 as Score, type ScoreBody, type ScoreConfig, ScoreConfigDataType, type ScoreConfigs$1 as ScoreConfigs, ScoreDataType, type ScoreEvent, ScoreSource, ScoreV1, type SdkLogBody, type SdkLogEvent, type ServiceProviderConfig, ServiceUnavailableError, type Session, type SessionWithTraces, type Sort, type TextPrompt, type Trace$1 as Trace, type TraceBody, type TraceEvent, type TraceWithDetails, type TraceWithFullDetails, type Traces, UnauthorizedError, type UpdateAnnotationQueueItemRequest, type UpdateEventBody, type UpdateGenerationBody, type UpdateGenerationEvent, type UpdateObservationEvent, type UpdateProjectRequest, type UpdatePromptRequest, type UpdateScoreConfigRequest, type UpdateSpanBody, type UpdateSpanEvent, type UpsertLlmConnectionRequest, type Usage, type UsageDetails, type UserMeta, index$s as annotationQueues, base64Decode, base64Encode, base64ToBytes, index$r as blobStorageIntegrations, bytesToBase64, index$q as comments, index$p as commons, configureGlobalLogger, createExperimentId, createExperimentItemId, createLogger, index$o as datasetItems, index$n as datasetRunItems, index$m as datasets, generateUUID, getEnv, getGlobalLogger, getPropagatedAttributesFromContext, index$l as health, index$k as ingestion, index$j as llmConnections, LoggerSingleton as logger, index$i as media, index$g as metrics, index$h as metricsV2, index$f as models, index$d as observations, index$e as observationsV2, index$c as opentelemetry, index$b as organizations, index$a as projects, index as promptVersion, index$9 as prompts, propagateAttributes, resetGlobalLogger, safeSetTimeout, index$8 as scim, index$5 as score, index$7 as scoreConfigs, index$6 as scoreV2, serializeValue, index$4 as sessions, index$3 as trace, index$1 as utils };
|