weflayr 0.23.0 → 0.24.0
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/api/generated/facade.gen.d.ts +77 -0
- package/dist/api/generated/facade.gen.js +7 -1
- package/dist/api/generated/index.d.ts +2 -2
- package/dist/api/generated/index.js +7 -1
- package/dist/api/generated/sdk.gen.d.ts +25 -1
- package/dist/api/generated/sdk.gen.js +55 -1
- package/dist/api/generated/types.gen.d.ts +256 -0
- package/index.d.ts +5 -2
- package/package.json +1 -1
- package/src/api/generated/facade.gen.ts +36 -0
- package/src/api/generated/index.ts +2 -2
- package/src/api/generated/sdk.gen.ts +55 -1
- package/src/api/generated/types.gen.ts +293 -0
- package/src/auto-instrument.js +1 -0
- package/src/instrumentation/anthropic/get_cache_and_reasoning_telemetry.js +11 -0
- package/src/instrumentation/anthropic/get_cache_config_telemetry.js +90 -0
- package/src/instrumentation/anthropic/get_tool_definitions_telemetry.js +6 -1
- package/src/instrumentation/anthropic/set_telemetry_attributes.js +2 -0
- package/src/instrumentation/bedrock/get_cache_config_telemetry.js +106 -0
- package/src/instrumentation/bedrock/get_cache_telemetry.js +11 -6
- package/src/instrumentation/bedrock/set_telemetry_attributes.js +6 -2
- package/src/instrumentation/google/get_cache_operations_telemetry.js +171 -0
- package/src/instrumentation/google/get_cache_telemetry.js +16 -2
- package/src/instrumentation/google/set_telemetry_attributes.js +8 -2
- package/src/instrumentation/openai/get_cache_config_telemetry.js +63 -0
- package/src/instrumentation/openai/set_telemetry_attributes.js +2 -0
- package/src/instrumentation/vercel/full_instrumentation.js +10 -2
- package/src/instrumentation/vercel/get_cache_creation_telemetry.js +70 -0
- package/src/otel/propagation.js +22 -9
- package/src/otel/span-filter.js +12 -12
- package/src/otel/span-processor.js +8 -0
- package/src/otel/vercel-ai-sdk-span-filter.js +1 -1
- package/tests/index.test.js +67 -7
- package/tests/instrumentation/anthropic/get_cache_and_reasoning_telemetry.test.js +23 -0
- package/tests/instrumentation/anthropic/get_cache_config_telemetry.test.js +92 -0
- package/tests/instrumentation/anthropic/get_tool_definitions_telemetry.test.js +15 -0
- package/tests/instrumentation/bedrock/get_cache_config_telemetry.test.js +107 -0
- package/tests/instrumentation/bedrock/get_cache_telemetry.test.js +16 -0
- package/tests/instrumentation/google/get_cache_operations_telemetry.test.js +130 -0
- package/tests/instrumentation/openai/get_cache_config_telemetry.test.js +83 -0
- package/tests/instrumentation/vercel/get_cache_creation_telemetry.test.js +96 -0
|
@@ -176,3 +176,80 @@ export declare const setCustomersTags: (options: import("../makeEndpoint.js").Cl
|
|
|
176
176
|
ok: boolean;
|
|
177
177
|
customersUpdated: number;
|
|
178
178
|
}, CamelCaseDeep<generatedTypes.SetCustomersTagsError>>>;
|
|
179
|
+
export declare const getProject: (options: import("../makeEndpoint.js").ClientOption & {
|
|
180
|
+
query?: undefined;
|
|
181
|
+
body?: undefined;
|
|
182
|
+
path?: undefined;
|
|
183
|
+
}) => Promise<import("../makeEndpoint.js").CallResult<{
|
|
184
|
+
name: string;
|
|
185
|
+
projectType: "revenue" | "internal";
|
|
186
|
+
keyMetricNames: string[];
|
|
187
|
+
environment: "dev" | "pre-prod" | "staging" | "prod";
|
|
188
|
+
createdAt: string;
|
|
189
|
+
}, {
|
|
190
|
+
error: string;
|
|
191
|
+
}>>;
|
|
192
|
+
export declare const getTags: (options: import("../makeEndpoint.js").ClientOption & {
|
|
193
|
+
query?: {
|
|
194
|
+
includeRunTags?: boolean | undefined;
|
|
195
|
+
includeCustomerTags?: boolean | undefined;
|
|
196
|
+
} | undefined;
|
|
197
|
+
body?: undefined;
|
|
198
|
+
path?: undefined;
|
|
199
|
+
}) => Promise<import("../makeEndpoint.js").CallResult<{
|
|
200
|
+
runTags: {
|
|
201
|
+
[x: string]: string[];
|
|
202
|
+
};
|
|
203
|
+
customerTags: {
|
|
204
|
+
[x: string]: string[];
|
|
205
|
+
};
|
|
206
|
+
}, {
|
|
207
|
+
error: string;
|
|
208
|
+
}>>;
|
|
209
|
+
export declare const getModels: (options: import("../makeEndpoint.js").ClientOption & {
|
|
210
|
+
query?: undefined;
|
|
211
|
+
body?: undefined;
|
|
212
|
+
path?: undefined;
|
|
213
|
+
}) => Promise<import("../makeEndpoint.js").CallResult<{
|
|
214
|
+
models: string[];
|
|
215
|
+
}, {
|
|
216
|
+
error: string;
|
|
217
|
+
}>>;
|
|
218
|
+
export declare const getProviders: (options: import("../makeEndpoint.js").ClientOption & {
|
|
219
|
+
query?: undefined;
|
|
220
|
+
body?: undefined;
|
|
221
|
+
path?: undefined;
|
|
222
|
+
}) => Promise<import("../makeEndpoint.js").CallResult<{
|
|
223
|
+
providers: string[];
|
|
224
|
+
}, {
|
|
225
|
+
error: string;
|
|
226
|
+
}>>;
|
|
227
|
+
export declare const getCustomers: (options: import("../makeEndpoint.js").ClientOption & {
|
|
228
|
+
query?: {
|
|
229
|
+
cursor?: string | undefined;
|
|
230
|
+
limit?: number | undefined;
|
|
231
|
+
includeCustomerTags?: boolean | undefined;
|
|
232
|
+
} | undefined;
|
|
233
|
+
body?: undefined;
|
|
234
|
+
path?: undefined;
|
|
235
|
+
}) => Promise<import("../makeEndpoint.js").CallResult<{
|
|
236
|
+
customers: {
|
|
237
|
+
customerName: string;
|
|
238
|
+
customerTags: {
|
|
239
|
+
[x: string]: string;
|
|
240
|
+
};
|
|
241
|
+
}[];
|
|
242
|
+
nextCursor: string | null;
|
|
243
|
+
hasMore: boolean;
|
|
244
|
+
}, {
|
|
245
|
+
error: string;
|
|
246
|
+
}>>;
|
|
247
|
+
export declare const getFeatures: (options: import("../makeEndpoint.js").ClientOption & {
|
|
248
|
+
query?: undefined;
|
|
249
|
+
body?: undefined;
|
|
250
|
+
path?: undefined;
|
|
251
|
+
}) => Promise<import("../makeEndpoint.js").CallResult<{
|
|
252
|
+
features: string[];
|
|
253
|
+
}, {
|
|
254
|
+
error: string;
|
|
255
|
+
}>>;
|
|
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
};
|
|
36
36
|
})();
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.setCustomersTags = exports.getCustomersTags = exports.deleteCustomersTags = exports.setKeyMetrics = exports.getKeyMetrics = exports.deleteKeyMetrics = exports.setRevenue = exports.getRevenue = exports.deleteRevenue = exports.getMargin = void 0;
|
|
38
|
+
exports.getFeatures = exports.getCustomers = exports.getProviders = exports.getModels = exports.getTags = exports.getProject = exports.setCustomersTags = exports.getCustomersTags = exports.deleteCustomersTags = exports.setKeyMetrics = exports.getKeyMetrics = exports.deleteKeyMetrics = exports.setRevenue = exports.getRevenue = exports.deleteRevenue = exports.getMargin = void 0;
|
|
39
39
|
const makeEndpoint_js_1 = require("../makeEndpoint.js");
|
|
40
40
|
const generated = __importStar(require("./sdk.gen.js"));
|
|
41
41
|
exports.getMargin = (0, makeEndpoint_js_1.makeEndpoint)(generated.getMargin);
|
|
@@ -48,3 +48,9 @@ exports.setKeyMetrics = (0, makeEndpoint_js_1.makeEndpoint)(generated.setKeyMetr
|
|
|
48
48
|
exports.deleteCustomersTags = (0, makeEndpoint_js_1.makeEndpoint)(generated.deleteCustomersTags);
|
|
49
49
|
exports.getCustomersTags = (0, makeEndpoint_js_1.makeEndpoint)(generated.getCustomersTags);
|
|
50
50
|
exports.setCustomersTags = (0, makeEndpoint_js_1.makeEndpoint)(generated.setCustomersTags);
|
|
51
|
+
exports.getProject = (0, makeEndpoint_js_1.makeEndpoint)(generated.getProject);
|
|
52
|
+
exports.getTags = (0, makeEndpoint_js_1.makeEndpoint)(generated.getTags);
|
|
53
|
+
exports.getModels = (0, makeEndpoint_js_1.makeEndpoint)(generated.getModels);
|
|
54
|
+
exports.getProviders = (0, makeEndpoint_js_1.makeEndpoint)(generated.getProviders);
|
|
55
|
+
exports.getCustomers = (0, makeEndpoint_js_1.makeEndpoint)(generated.getCustomers);
|
|
56
|
+
exports.getFeatures = (0, makeEndpoint_js_1.makeEndpoint)(generated.getFeatures);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { deleteCustomersTags, deleteKeyMetrics, deleteRevenue, getCustomersTags, getKeyMetrics, getMargin, getRevenue, type Options, setCustomersTags, setKeyMetrics, setRevenue } from './sdk.gen.js';
|
|
2
|
-
export type { AllCustomerTagsOutput, ApiErrorOutput, ClientOptions, CustomerMarginRow, CustomersUpdatedOutput, CustomerTags, CustomerTagsOutput, DeleteCustomersTagsData, DeleteCustomersTagsError, DeleteCustomersTagsErrors, DeleteCustomersTagsResponse, DeleteCustomersTagsResponses, DeleteKeyMetricsData, DeleteKeyMetricsError, DeleteKeyMetricsErrors, DeleteKeyMetricsResponse, DeleteKeyMetricsResponses, DeleteRevenueData, DeleteRevenueError, DeleteRevenueErrors, DeleteRevenueResponse, DeleteRevenueResponses, GetCustomersTagsData, GetCustomersTagsError, GetCustomersTagsErrors, GetCustomersTagsResponse, GetCustomersTagsResponses, GetKeyMetricsData, GetKeyMetricsError, GetKeyMetricsErrors, GetKeyMetricsResponse, GetKeyMetricsResponses, GetMarginData, GetMarginError, GetMarginErrors, GetMarginResponse, GetMarginResponses, GetRevenueData, GetRevenueError, GetRevenueErrors, GetRevenueResponse, GetRevenueResponses, InvalidFieldDetail, InvalidPayloadOutput, KeyMetricOutput, KeyMetricRow, KeyMetricRowOutput, MarginListOutput, RevenueOrKeyMetricDeletedRowOutput, RevenueOrKeyMetricImportedRowOutput, RevenueOutput, RevenueRow, RevenueRowOutput, SetCustomersTagsData, SetCustomersTagsError, SetCustomersTagsErrors, SetCustomersTagsResponse, SetCustomersTagsResponses, SetCustomerTagsInput, SetKeyMetricsData, SetKeyMetricsError, SetKeyMetricsErrors, SetKeyMetricsInput, SetKeyMetricsResponse, SetKeyMetricsResponses, SetRevenueData, SetRevenueError, SetRevenueErrors, SetRevenueInput, SetRevenueResponse, SetRevenueResponses, TagsDeletedOutput } from './types.gen.js';
|
|
1
|
+
export { deleteCustomersTags, deleteKeyMetrics, deleteRevenue, getCustomers, getCustomersTags, getFeatures, getKeyMetrics, getMargin, getModels, getProject, getProviders, getRevenue, getTags, type Options, setCustomersTags, setKeyMetrics, setRevenue } from './sdk.gen.js';
|
|
2
|
+
export type { AllCustomerTagsOutput, ApiErrorOutput, ClientOptions, CustomerMarginRow, CustomerOutput, CustomersOutput, CustomersUpdatedOutput, CustomerTags, CustomerTagsOutput, DeleteCustomersTagsData, DeleteCustomersTagsError, DeleteCustomersTagsErrors, DeleteCustomersTagsResponse, DeleteCustomersTagsResponses, DeleteKeyMetricsData, DeleteKeyMetricsError, DeleteKeyMetricsErrors, DeleteKeyMetricsResponse, DeleteKeyMetricsResponses, DeleteRevenueData, DeleteRevenueError, DeleteRevenueErrors, DeleteRevenueResponse, DeleteRevenueResponses, FeaturesOutput, GetCustomersData, GetCustomersError, GetCustomersErrors, GetCustomersResponse, GetCustomersResponses, GetCustomersTagsData, GetCustomersTagsError, GetCustomersTagsErrors, GetCustomersTagsResponse, GetCustomersTagsResponses, GetFeaturesData, GetFeaturesError, GetFeaturesErrors, GetFeaturesResponse, GetFeaturesResponses, GetKeyMetricsData, GetKeyMetricsError, GetKeyMetricsErrors, GetKeyMetricsResponse, GetKeyMetricsResponses, GetMarginData, GetMarginError, GetMarginErrors, GetMarginResponse, GetMarginResponses, GetModelsData, GetModelsError, GetModelsErrors, GetModelsResponse, GetModelsResponses, GetProjectData, GetProjectError, GetProjectErrors, GetProjectResponse, GetProjectResponses, GetProvidersData, GetProvidersError, GetProvidersErrors, GetProvidersResponse, GetProvidersResponses, GetRevenueData, GetRevenueError, GetRevenueErrors, GetRevenueResponse, GetRevenueResponses, GetTagsData, GetTagsError, GetTagsErrors, GetTagsResponse, GetTagsResponses, InvalidFieldDetail, InvalidPayloadOutput, KeyMetricOutput, KeyMetricRow, KeyMetricRowOutput, MarginListOutput, ModelsOutput, ProjectOutput, ProvidersOutput, RevenueOrKeyMetricDeletedRowOutput, RevenueOrKeyMetricImportedRowOutput, RevenueOutput, RevenueRow, RevenueRowOutput, SetCustomersTagsData, SetCustomersTagsError, SetCustomersTagsErrors, SetCustomersTagsResponse, SetCustomersTagsResponses, SetCustomerTagsInput, SetKeyMetricsData, SetKeyMetricsError, SetKeyMetricsErrors, SetKeyMetricsInput, SetKeyMetricsResponse, SetKeyMetricsResponses, SetRevenueData, SetRevenueError, SetRevenueErrors, SetRevenueInput, SetRevenueResponse, SetRevenueResponses, TagsDeletedOutput, TagsOutput } from './types.gen.js';
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.setRevenue = exports.setKeyMetrics = exports.setCustomersTags = exports.getRevenue = exports.getMargin = exports.getKeyMetrics = exports.getCustomersTags = exports.deleteRevenue = exports.deleteKeyMetrics = exports.deleteCustomersTags = void 0;
|
|
4
|
+
exports.setRevenue = exports.setKeyMetrics = exports.setCustomersTags = exports.getTags = exports.getRevenue = exports.getProviders = exports.getProject = exports.getModels = exports.getMargin = exports.getKeyMetrics = exports.getFeatures = exports.getCustomersTags = exports.getCustomers = exports.deleteRevenue = exports.deleteKeyMetrics = exports.deleteCustomersTags = void 0;
|
|
5
5
|
var sdk_gen_js_1 = require("./sdk.gen.js");
|
|
6
6
|
Object.defineProperty(exports, "deleteCustomersTags", { enumerable: true, get: function () { return sdk_gen_js_1.deleteCustomersTags; } });
|
|
7
7
|
Object.defineProperty(exports, "deleteKeyMetrics", { enumerable: true, get: function () { return sdk_gen_js_1.deleteKeyMetrics; } });
|
|
8
8
|
Object.defineProperty(exports, "deleteRevenue", { enumerable: true, get: function () { return sdk_gen_js_1.deleteRevenue; } });
|
|
9
|
+
Object.defineProperty(exports, "getCustomers", { enumerable: true, get: function () { return sdk_gen_js_1.getCustomers; } });
|
|
9
10
|
Object.defineProperty(exports, "getCustomersTags", { enumerable: true, get: function () { return sdk_gen_js_1.getCustomersTags; } });
|
|
11
|
+
Object.defineProperty(exports, "getFeatures", { enumerable: true, get: function () { return sdk_gen_js_1.getFeatures; } });
|
|
10
12
|
Object.defineProperty(exports, "getKeyMetrics", { enumerable: true, get: function () { return sdk_gen_js_1.getKeyMetrics; } });
|
|
11
13
|
Object.defineProperty(exports, "getMargin", { enumerable: true, get: function () { return sdk_gen_js_1.getMargin; } });
|
|
14
|
+
Object.defineProperty(exports, "getModels", { enumerable: true, get: function () { return sdk_gen_js_1.getModels; } });
|
|
15
|
+
Object.defineProperty(exports, "getProject", { enumerable: true, get: function () { return sdk_gen_js_1.getProject; } });
|
|
16
|
+
Object.defineProperty(exports, "getProviders", { enumerable: true, get: function () { return sdk_gen_js_1.getProviders; } });
|
|
12
17
|
Object.defineProperty(exports, "getRevenue", { enumerable: true, get: function () { return sdk_gen_js_1.getRevenue; } });
|
|
18
|
+
Object.defineProperty(exports, "getTags", { enumerable: true, get: function () { return sdk_gen_js_1.getTags; } });
|
|
13
19
|
Object.defineProperty(exports, "setCustomersTags", { enumerable: true, get: function () { return sdk_gen_js_1.setCustomersTags; } });
|
|
14
20
|
Object.defineProperty(exports, "setKeyMetrics", { enumerable: true, get: function () { return sdk_gen_js_1.setKeyMetrics; } });
|
|
15
21
|
Object.defineProperty(exports, "setRevenue", { enumerable: true, get: function () { return sdk_gen_js_1.setRevenue; } });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client/index.js';
|
|
2
|
-
import type { DeleteCustomersTagsData, DeleteCustomersTagsErrors, DeleteCustomersTagsResponses, DeleteKeyMetricsData, DeleteKeyMetricsErrors, DeleteKeyMetricsResponses, DeleteRevenueData, DeleteRevenueErrors, DeleteRevenueResponses, GetCustomersTagsData, GetCustomersTagsErrors, GetCustomersTagsResponses, GetKeyMetricsData, GetKeyMetricsErrors, GetKeyMetricsResponses, GetMarginData, GetMarginErrors, GetMarginResponses, GetRevenueData, GetRevenueErrors, GetRevenueResponses, SetCustomersTagsData, SetCustomersTagsErrors, SetCustomersTagsResponses, SetKeyMetricsData, SetKeyMetricsErrors, SetKeyMetricsResponses, SetRevenueData, SetRevenueErrors, SetRevenueResponses } from './types.gen.js';
|
|
2
|
+
import type { DeleteCustomersTagsData, DeleteCustomersTagsErrors, DeleteCustomersTagsResponses, DeleteKeyMetricsData, DeleteKeyMetricsErrors, DeleteKeyMetricsResponses, DeleteRevenueData, DeleteRevenueErrors, DeleteRevenueResponses, GetCustomersData, GetCustomersErrors, GetCustomersResponses, GetCustomersTagsData, GetCustomersTagsErrors, GetCustomersTagsResponses, GetFeaturesData, GetFeaturesErrors, GetFeaturesResponses, GetKeyMetricsData, GetKeyMetricsErrors, GetKeyMetricsResponses, GetMarginData, GetMarginErrors, GetMarginResponses, GetModelsData, GetModelsErrors, GetModelsResponses, GetProjectData, GetProjectErrors, GetProjectResponses, GetProvidersData, GetProvidersErrors, GetProvidersResponses, GetRevenueData, GetRevenueErrors, GetRevenueResponses, GetTagsData, GetTagsErrors, GetTagsResponses, SetCustomersTagsData, SetCustomersTagsErrors, SetCustomersTagsResponses, SetKeyMetricsData, SetKeyMetricsErrors, SetKeyMetricsResponses, SetRevenueData, SetRevenueErrors, SetRevenueResponses } from './types.gen.js';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -53,3 +53,27 @@ export declare const getCustomersTags: <ThrowOnError extends boolean = false>(op
|
|
|
53
53
|
* Merge-set customer tags; set upsert=true to overwrite tags that already exist.
|
|
54
54
|
*/
|
|
55
55
|
export declare const setCustomersTags: <ThrowOnError extends boolean = false>(options: Options<SetCustomersTagsData, ThrowOnError>) => RequestResult<SetCustomersTagsResponses, SetCustomersTagsErrors, ThrowOnError>;
|
|
56
|
+
/**
|
|
57
|
+
* Static identity of the project: name, type, key metrics, environment and creation date.
|
|
58
|
+
*/
|
|
59
|
+
export declare const getProject: <ThrowOnError extends boolean = false>(options?: Options<GetProjectData, ThrowOnError>) => RequestResult<GetProjectResponses, GetProjectErrors, ThrowOnError>;
|
|
60
|
+
/**
|
|
61
|
+
* {key: [values]} facets for run tags and customer tags; pass include_run_tags/include_customer_tags=false to skip either one.
|
|
62
|
+
*/
|
|
63
|
+
export declare const getTags: <ThrowOnError extends boolean = false>(options?: Options<GetTagsData, ThrowOnError>) => RequestResult<GetTagsResponses, GetTagsErrors, ThrowOnError>;
|
|
64
|
+
/**
|
|
65
|
+
* Every distinct model name seen for the project.
|
|
66
|
+
*/
|
|
67
|
+
export declare const getModels: <ThrowOnError extends boolean = false>(options?: Options<GetModelsData, ThrowOnError>) => RequestResult<GetModelsResponses, GetModelsErrors, ThrowOnError>;
|
|
68
|
+
/**
|
|
69
|
+
* Every distinct provider name seen for the project.
|
|
70
|
+
*/
|
|
71
|
+
export declare const getProviders: <ThrowOnError extends boolean = false>(options?: Options<GetProvidersData, ThrowOnError>) => RequestResult<GetProvidersResponses, GetProvidersErrors, ThrowOnError>;
|
|
72
|
+
/**
|
|
73
|
+
* Every known customer of the project; pass include_customer_tags=false to omit each customer's tags.
|
|
74
|
+
*/
|
|
75
|
+
export declare const getCustomers: <ThrowOnError extends boolean = false>(options?: Options<GetCustomersData, ThrowOnError>) => RequestResult<GetCustomersResponses, GetCustomersErrors, ThrowOnError>;
|
|
76
|
+
/**
|
|
77
|
+
* Every distinct feature tag seen for the project.
|
|
78
|
+
*/
|
|
79
|
+
export declare const getFeatures: <ThrowOnError extends boolean = false>(options?: Options<GetFeaturesData, ThrowOnError>) => RequestResult<GetFeaturesResponses, GetFeaturesErrors, ThrowOnError>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.setCustomersTags = exports.getCustomersTags = exports.deleteCustomersTags = exports.setKeyMetrics = exports.getKeyMetrics = exports.deleteKeyMetrics = exports.setRevenue = exports.getRevenue = exports.deleteRevenue = exports.getMargin = void 0;
|
|
4
|
+
exports.getFeatures = exports.getCustomers = exports.getProviders = exports.getModels = exports.getTags = exports.getProject = exports.setCustomersTags = exports.getCustomersTags = exports.deleteCustomersTags = exports.setKeyMetrics = exports.getKeyMetrics = exports.deleteKeyMetrics = exports.setRevenue = exports.getRevenue = exports.deleteRevenue = exports.getMargin = void 0;
|
|
5
5
|
const client_gen_js_1 = require("./client.gen.js");
|
|
6
6
|
/**
|
|
7
7
|
* Per-customer gross margin, sorted by customer_name ascending; pass customer_names to narrow to specific customers, omit it for every customer's.
|
|
@@ -105,3 +105,57 @@ const setCustomersTags = (options) => (options.client ?? client_gen_js_1.client)
|
|
|
105
105
|
}
|
|
106
106
|
});
|
|
107
107
|
exports.setCustomersTags = setCustomersTags;
|
|
108
|
+
/**
|
|
109
|
+
* Static identity of the project: name, type, key metrics, environment and creation date.
|
|
110
|
+
*/
|
|
111
|
+
const getProject = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
112
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
113
|
+
url: '/project/',
|
|
114
|
+
...options
|
|
115
|
+
});
|
|
116
|
+
exports.getProject = getProject;
|
|
117
|
+
/**
|
|
118
|
+
* {key: [values]} facets for run tags and customer tags; pass include_run_tags/include_customer_tags=false to skip either one.
|
|
119
|
+
*/
|
|
120
|
+
const getTags = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
121
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
122
|
+
url: '/tags/',
|
|
123
|
+
...options
|
|
124
|
+
});
|
|
125
|
+
exports.getTags = getTags;
|
|
126
|
+
/**
|
|
127
|
+
* Every distinct model name seen for the project.
|
|
128
|
+
*/
|
|
129
|
+
const getModels = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
130
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
131
|
+
url: '/models/',
|
|
132
|
+
...options
|
|
133
|
+
});
|
|
134
|
+
exports.getModels = getModels;
|
|
135
|
+
/**
|
|
136
|
+
* Every distinct provider name seen for the project.
|
|
137
|
+
*/
|
|
138
|
+
const getProviders = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
139
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
140
|
+
url: '/providers/',
|
|
141
|
+
...options
|
|
142
|
+
});
|
|
143
|
+
exports.getProviders = getProviders;
|
|
144
|
+
/**
|
|
145
|
+
* Every known customer of the project; pass include_customer_tags=false to omit each customer's tags.
|
|
146
|
+
*/
|
|
147
|
+
const getCustomers = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
148
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
149
|
+
url: '/customers/',
|
|
150
|
+
...options
|
|
151
|
+
});
|
|
152
|
+
exports.getCustomers = getCustomers;
|
|
153
|
+
/**
|
|
154
|
+
* Every distinct feature tag seen for the project.
|
|
155
|
+
*/
|
|
156
|
+
const getFeatures = (options) => (options?.client ?? client_gen_js_1.client).get({
|
|
157
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
158
|
+
url: '/features/',
|
|
159
|
+
...options
|
|
160
|
+
});
|
|
161
|
+
exports.getFeatures = getFeatures;
|
|
@@ -62,6 +62,23 @@ export type CustomerMarginRow = {
|
|
|
62
62
|
*/
|
|
63
63
|
profitability_status: 'healthy' | 'watch' | 'at_risk' | 'unprofitable' | 'unknown';
|
|
64
64
|
};
|
|
65
|
+
/**
|
|
66
|
+
* CustomerOutput
|
|
67
|
+
*
|
|
68
|
+
* One customer, with its tags when requested (an empty dict otherwise).
|
|
69
|
+
*/
|
|
70
|
+
export type CustomerOutput = {
|
|
71
|
+
/**
|
|
72
|
+
* Customer Name
|
|
73
|
+
*/
|
|
74
|
+
customer_name: string;
|
|
75
|
+
/**
|
|
76
|
+
* Customer Tags
|
|
77
|
+
*/
|
|
78
|
+
customer_tags: {
|
|
79
|
+
[key: string]: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
65
82
|
/**
|
|
66
83
|
* CustomerTags
|
|
67
84
|
*
|
|
@@ -96,6 +113,25 @@ export type CustomerTagsOutput = {
|
|
|
96
113
|
[key: string]: string;
|
|
97
114
|
};
|
|
98
115
|
};
|
|
116
|
+
/**
|
|
117
|
+
* CustomersOutput
|
|
118
|
+
*
|
|
119
|
+
* The customers GET response: every known customer of the project.
|
|
120
|
+
*/
|
|
121
|
+
export type CustomersOutput = {
|
|
122
|
+
/**
|
|
123
|
+
* Customers
|
|
124
|
+
*/
|
|
125
|
+
customers: Array<CustomerOutput>;
|
|
126
|
+
/**
|
|
127
|
+
* Next Cursor
|
|
128
|
+
*/
|
|
129
|
+
next_cursor: string | null;
|
|
130
|
+
/**
|
|
131
|
+
* Has More
|
|
132
|
+
*/
|
|
133
|
+
has_more: boolean;
|
|
134
|
+
};
|
|
99
135
|
/**
|
|
100
136
|
* CustomersUpdatedOutput
|
|
101
137
|
*
|
|
@@ -111,6 +147,17 @@ export type CustomersUpdatedOutput = {
|
|
|
111
147
|
*/
|
|
112
148
|
customers_updated: number;
|
|
113
149
|
};
|
|
150
|
+
/**
|
|
151
|
+
* FeaturesOutput
|
|
152
|
+
*
|
|
153
|
+
* A features GET response: every distinct feature tag seen for the project.
|
|
154
|
+
*/
|
|
155
|
+
export type FeaturesOutput = {
|
|
156
|
+
/**
|
|
157
|
+
* Features
|
|
158
|
+
*/
|
|
159
|
+
features: Array<string>;
|
|
160
|
+
};
|
|
114
161
|
/**
|
|
115
162
|
* InvalidFieldDetail
|
|
116
163
|
*
|
|
@@ -250,6 +297,55 @@ export type MarginListOutput = {
|
|
|
250
297
|
*/
|
|
251
298
|
has_more: boolean;
|
|
252
299
|
};
|
|
300
|
+
/**
|
|
301
|
+
* ModelsOutput
|
|
302
|
+
*
|
|
303
|
+
* A models GET response: every distinct model name seen for the project.
|
|
304
|
+
*/
|
|
305
|
+
export type ModelsOutput = {
|
|
306
|
+
/**
|
|
307
|
+
* Models
|
|
308
|
+
*/
|
|
309
|
+
models: Array<string>;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* ProjectOutput
|
|
313
|
+
*
|
|
314
|
+
* A project GET response: static identity of the project.
|
|
315
|
+
*/
|
|
316
|
+
export type ProjectOutput = {
|
|
317
|
+
/**
|
|
318
|
+
* Name
|
|
319
|
+
*/
|
|
320
|
+
name: string;
|
|
321
|
+
/**
|
|
322
|
+
* Project Type
|
|
323
|
+
*/
|
|
324
|
+
project_type: 'revenue' | 'internal';
|
|
325
|
+
/**
|
|
326
|
+
* Key Metric Names
|
|
327
|
+
*/
|
|
328
|
+
key_metric_names: Array<string>;
|
|
329
|
+
/**
|
|
330
|
+
* Environment
|
|
331
|
+
*/
|
|
332
|
+
environment: 'dev' | 'pre-prod' | 'staging' | 'prod';
|
|
333
|
+
/**
|
|
334
|
+
* Created At
|
|
335
|
+
*/
|
|
336
|
+
created_at: string;
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* ProvidersOutput
|
|
340
|
+
*
|
|
341
|
+
* A providers GET response: every distinct provider name seen for the project.
|
|
342
|
+
*/
|
|
343
|
+
export type ProvidersOutput = {
|
|
344
|
+
/**
|
|
345
|
+
* Providers
|
|
346
|
+
*/
|
|
347
|
+
providers: Array<string>;
|
|
348
|
+
};
|
|
253
349
|
/**
|
|
254
350
|
* RevenueOrKeyMetricDeletedRowOutput
|
|
255
351
|
*
|
|
@@ -436,6 +532,27 @@ export type TagsDeletedOutput = {
|
|
|
436
532
|
*/
|
|
437
533
|
tags_deleted: number;
|
|
438
534
|
};
|
|
535
|
+
/**
|
|
536
|
+
* TagsOutput
|
|
537
|
+
*
|
|
538
|
+
* A tags GET response: facets of every tag dimension seen on the project.
|
|
539
|
+
*
|
|
540
|
+
* Either field is an empty dict when its include_* flag was false.
|
|
541
|
+
*/
|
|
542
|
+
export type TagsOutput = {
|
|
543
|
+
/**
|
|
544
|
+
* Run Tags
|
|
545
|
+
*/
|
|
546
|
+
run_tags: {
|
|
547
|
+
[key: string]: Array<string>;
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* Customer Tags
|
|
551
|
+
*/
|
|
552
|
+
customer_tags: {
|
|
553
|
+
[key: string]: Array<string>;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
439
556
|
export type GetMarginData = {
|
|
440
557
|
body?: never;
|
|
441
558
|
path?: never;
|
|
@@ -747,3 +864,142 @@ export type SetCustomersTagsResponses = {
|
|
|
747
864
|
200: CustomersUpdatedOutput;
|
|
748
865
|
};
|
|
749
866
|
export type SetCustomersTagsResponse = SetCustomersTagsResponses[keyof SetCustomersTagsResponses];
|
|
867
|
+
export type GetProjectData = {
|
|
868
|
+
body?: never;
|
|
869
|
+
path?: never;
|
|
870
|
+
query?: never;
|
|
871
|
+
url: '/project/';
|
|
872
|
+
};
|
|
873
|
+
export type GetProjectErrors = {
|
|
874
|
+
/**
|
|
875
|
+
* Missing or invalid API key.
|
|
876
|
+
*/
|
|
877
|
+
401: ApiErrorOutput;
|
|
878
|
+
};
|
|
879
|
+
export type GetProjectError = GetProjectErrors[keyof GetProjectErrors];
|
|
880
|
+
export type GetProjectResponses = {
|
|
881
|
+
/**
|
|
882
|
+
* Success.
|
|
883
|
+
*/
|
|
884
|
+
200: ProjectOutput;
|
|
885
|
+
};
|
|
886
|
+
export type GetProjectResponse = GetProjectResponses[keyof GetProjectResponses];
|
|
887
|
+
export type GetTagsData = {
|
|
888
|
+
body?: never;
|
|
889
|
+
path?: never;
|
|
890
|
+
query?: {
|
|
891
|
+
/**
|
|
892
|
+
* Include run-tag facets. Defaults to true.
|
|
893
|
+
*/
|
|
894
|
+
include_run_tags?: boolean;
|
|
895
|
+
/**
|
|
896
|
+
* Include customer-tag facets. Defaults to true.
|
|
897
|
+
*/
|
|
898
|
+
include_customer_tags?: boolean;
|
|
899
|
+
};
|
|
900
|
+
url: '/tags/';
|
|
901
|
+
};
|
|
902
|
+
export type GetTagsErrors = {
|
|
903
|
+
/**
|
|
904
|
+
* Missing or invalid API key.
|
|
905
|
+
*/
|
|
906
|
+
401: ApiErrorOutput;
|
|
907
|
+
};
|
|
908
|
+
export type GetTagsError = GetTagsErrors[keyof GetTagsErrors];
|
|
909
|
+
export type GetTagsResponses = {
|
|
910
|
+
/**
|
|
911
|
+
* Success.
|
|
912
|
+
*/
|
|
913
|
+
200: TagsOutput;
|
|
914
|
+
};
|
|
915
|
+
export type GetTagsResponse = GetTagsResponses[keyof GetTagsResponses];
|
|
916
|
+
export type GetModelsData = {
|
|
917
|
+
body?: never;
|
|
918
|
+
path?: never;
|
|
919
|
+
query?: never;
|
|
920
|
+
url: '/models/';
|
|
921
|
+
};
|
|
922
|
+
export type GetModelsErrors = {
|
|
923
|
+
/**
|
|
924
|
+
* Missing or invalid API key.
|
|
925
|
+
*/
|
|
926
|
+
401: ApiErrorOutput;
|
|
927
|
+
};
|
|
928
|
+
export type GetModelsError = GetModelsErrors[keyof GetModelsErrors];
|
|
929
|
+
export type GetModelsResponses = {
|
|
930
|
+
/**
|
|
931
|
+
* Success.
|
|
932
|
+
*/
|
|
933
|
+
200: ModelsOutput;
|
|
934
|
+
};
|
|
935
|
+
export type GetModelsResponse = GetModelsResponses[keyof GetModelsResponses];
|
|
936
|
+
export type GetProvidersData = {
|
|
937
|
+
body?: never;
|
|
938
|
+
path?: never;
|
|
939
|
+
query?: never;
|
|
940
|
+
url: '/providers/';
|
|
941
|
+
};
|
|
942
|
+
export type GetProvidersErrors = {
|
|
943
|
+
/**
|
|
944
|
+
* Missing or invalid API key.
|
|
945
|
+
*/
|
|
946
|
+
401: ApiErrorOutput;
|
|
947
|
+
};
|
|
948
|
+
export type GetProvidersError = GetProvidersErrors[keyof GetProvidersErrors];
|
|
949
|
+
export type GetProvidersResponses = {
|
|
950
|
+
/**
|
|
951
|
+
* Success.
|
|
952
|
+
*/
|
|
953
|
+
200: ProvidersOutput;
|
|
954
|
+
};
|
|
955
|
+
export type GetProvidersResponse = GetProvidersResponses[keyof GetProvidersResponses];
|
|
956
|
+
export type GetCustomersData = {
|
|
957
|
+
body?: never;
|
|
958
|
+
path?: never;
|
|
959
|
+
query?: {
|
|
960
|
+
/**
|
|
961
|
+
* Opaque cursor from a previous page's next_cursor.
|
|
962
|
+
*/
|
|
963
|
+
cursor?: string;
|
|
964
|
+
limit?: number;
|
|
965
|
+
/**
|
|
966
|
+
* Include each customer's tags. Defaults to true.
|
|
967
|
+
*/
|
|
968
|
+
include_customer_tags?: boolean;
|
|
969
|
+
};
|
|
970
|
+
url: '/customers/';
|
|
971
|
+
};
|
|
972
|
+
export type GetCustomersErrors = {
|
|
973
|
+
/**
|
|
974
|
+
* Missing or invalid API key.
|
|
975
|
+
*/
|
|
976
|
+
401: ApiErrorOutput;
|
|
977
|
+
};
|
|
978
|
+
export type GetCustomersError = GetCustomersErrors[keyof GetCustomersErrors];
|
|
979
|
+
export type GetCustomersResponses = {
|
|
980
|
+
/**
|
|
981
|
+
* Success.
|
|
982
|
+
*/
|
|
983
|
+
200: CustomersOutput;
|
|
984
|
+
};
|
|
985
|
+
export type GetCustomersResponse = GetCustomersResponses[keyof GetCustomersResponses];
|
|
986
|
+
export type GetFeaturesData = {
|
|
987
|
+
body?: never;
|
|
988
|
+
path?: never;
|
|
989
|
+
query?: never;
|
|
990
|
+
url: '/features/';
|
|
991
|
+
};
|
|
992
|
+
export type GetFeaturesErrors = {
|
|
993
|
+
/**
|
|
994
|
+
* Missing or invalid API key.
|
|
995
|
+
*/
|
|
996
|
+
401: ApiErrorOutput;
|
|
997
|
+
};
|
|
998
|
+
export type GetFeaturesError = GetFeaturesErrors[keyof GetFeaturesErrors];
|
|
999
|
+
export type GetFeaturesResponses = {
|
|
1000
|
+
/**
|
|
1001
|
+
* Success.
|
|
1002
|
+
*/
|
|
1003
|
+
200: FeaturesOutput;
|
|
1004
|
+
};
|
|
1005
|
+
export type GetFeaturesResponse = GetFeaturesResponses[keyof GetFeaturesResponses];
|
package/index.d.ts
CHANGED
|
@@ -41,13 +41,14 @@ export const AiSdk: {
|
|
|
41
41
|
export type AiSdk = (typeof AiSdk)[keyof typeof AiSdk];
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Allowed values for `propagateMetadata({
|
|
45
|
-
* providers a call can be attributed to. Unlike AiSdk this names providers,
|
|
44
|
+
* Allowed values for `propagateMetadata({ providerNameOverride })`: the actual
|
|
45
|
+
* AI providers a call can be attributed to. Unlike AiSdk this names providers,
|
|
46
46
|
* not SDKs — google-genai is an SDK whose calls are labelled gemini or vertex,
|
|
47
47
|
* and mistral is reached via the OpenAI SDK on the wire but reported as itself.
|
|
48
48
|
*/
|
|
49
49
|
export const AIProviderName: {
|
|
50
50
|
readonly OPENAI: 'openai';
|
|
51
|
+
readonly AZURE_OPENAI: 'azure';
|
|
51
52
|
readonly ANTHROPIC: 'anthropic';
|
|
52
53
|
readonly BEDROCK: 'bedrock';
|
|
53
54
|
readonly COHERE: 'cohere';
|
|
@@ -112,6 +113,8 @@ export interface PropagateMetadataOptions {
|
|
|
112
113
|
* `vercel_ai_gateway` that proxies to OpenAI/Anthropic but should be
|
|
113
114
|
* reported as the gateway.
|
|
114
115
|
*/
|
|
116
|
+
providerNameOverride?: AIProviderName;
|
|
117
|
+
/** @deprecated Use `providerNameOverride` instead. */
|
|
115
118
|
providerName?: AIProviderName;
|
|
116
119
|
/**
|
|
117
120
|
* Arbitrary scalar key/value pairs to attach. Values must be `string`,
|
package/package.json
CHANGED
|
@@ -66,3 +66,39 @@ export const setCustomersTags = makeEndpoint<
|
|
|
66
66
|
CamelCaseDeep<generatedTypes.SetCustomersTagsResponse>,
|
|
67
67
|
CamelCaseDeep<generatedTypes.SetCustomersTagsError>
|
|
68
68
|
>(generated.setCustomersTags);
|
|
69
|
+
|
|
70
|
+
export const getProject = makeEndpoint<
|
|
71
|
+
CamelCaseDeep<Omit<generatedTypes.GetProjectData, 'url'>>,
|
|
72
|
+
CamelCaseDeep<generatedTypes.GetProjectResponse>,
|
|
73
|
+
CamelCaseDeep<generatedTypes.GetProjectError>
|
|
74
|
+
>(generated.getProject);
|
|
75
|
+
|
|
76
|
+
export const getTags = makeEndpoint<
|
|
77
|
+
CamelCaseDeep<Omit<generatedTypes.GetTagsData, 'url'>>,
|
|
78
|
+
CamelCaseDeep<generatedTypes.GetTagsResponse>,
|
|
79
|
+
CamelCaseDeep<generatedTypes.GetTagsError>
|
|
80
|
+
>(generated.getTags);
|
|
81
|
+
|
|
82
|
+
export const getModels = makeEndpoint<
|
|
83
|
+
CamelCaseDeep<Omit<generatedTypes.GetModelsData, 'url'>>,
|
|
84
|
+
CamelCaseDeep<generatedTypes.GetModelsResponse>,
|
|
85
|
+
CamelCaseDeep<generatedTypes.GetModelsError>
|
|
86
|
+
>(generated.getModels);
|
|
87
|
+
|
|
88
|
+
export const getProviders = makeEndpoint<
|
|
89
|
+
CamelCaseDeep<Omit<generatedTypes.GetProvidersData, 'url'>>,
|
|
90
|
+
CamelCaseDeep<generatedTypes.GetProvidersResponse>,
|
|
91
|
+
CamelCaseDeep<generatedTypes.GetProvidersError>
|
|
92
|
+
>(generated.getProviders);
|
|
93
|
+
|
|
94
|
+
export const getCustomers = makeEndpoint<
|
|
95
|
+
CamelCaseDeep<Omit<generatedTypes.GetCustomersData, 'url'>>,
|
|
96
|
+
CamelCaseDeep<generatedTypes.GetCustomersResponse>,
|
|
97
|
+
CamelCaseDeep<generatedTypes.GetCustomersError>
|
|
98
|
+
>(generated.getCustomers);
|
|
99
|
+
|
|
100
|
+
export const getFeatures = makeEndpoint<
|
|
101
|
+
CamelCaseDeep<Omit<generatedTypes.GetFeaturesData, 'url'>>,
|
|
102
|
+
CamelCaseDeep<generatedTypes.GetFeaturesResponse>,
|
|
103
|
+
CamelCaseDeep<generatedTypes.GetFeaturesError>
|
|
104
|
+
>(generated.getFeatures);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
-
export { deleteCustomersTags, deleteKeyMetrics, deleteRevenue, getCustomersTags, getKeyMetrics, getMargin, getRevenue, type Options, setCustomersTags, setKeyMetrics, setRevenue } from './sdk.gen.js';
|
|
4
|
-
export type { AllCustomerTagsOutput, ApiErrorOutput, ClientOptions, CustomerMarginRow, CustomersUpdatedOutput, CustomerTags, CustomerTagsOutput, DeleteCustomersTagsData, DeleteCustomersTagsError, DeleteCustomersTagsErrors, DeleteCustomersTagsResponse, DeleteCustomersTagsResponses, DeleteKeyMetricsData, DeleteKeyMetricsError, DeleteKeyMetricsErrors, DeleteKeyMetricsResponse, DeleteKeyMetricsResponses, DeleteRevenueData, DeleteRevenueError, DeleteRevenueErrors, DeleteRevenueResponse, DeleteRevenueResponses, GetCustomersTagsData, GetCustomersTagsError, GetCustomersTagsErrors, GetCustomersTagsResponse, GetCustomersTagsResponses, GetKeyMetricsData, GetKeyMetricsError, GetKeyMetricsErrors, GetKeyMetricsResponse, GetKeyMetricsResponses, GetMarginData, GetMarginError, GetMarginErrors, GetMarginResponse, GetMarginResponses, GetRevenueData, GetRevenueError, GetRevenueErrors, GetRevenueResponse, GetRevenueResponses, InvalidFieldDetail, InvalidPayloadOutput, KeyMetricOutput, KeyMetricRow, KeyMetricRowOutput, MarginListOutput, RevenueOrKeyMetricDeletedRowOutput, RevenueOrKeyMetricImportedRowOutput, RevenueOutput, RevenueRow, RevenueRowOutput, SetCustomersTagsData, SetCustomersTagsError, SetCustomersTagsErrors, SetCustomersTagsResponse, SetCustomersTagsResponses, SetCustomerTagsInput, SetKeyMetricsData, SetKeyMetricsError, SetKeyMetricsErrors, SetKeyMetricsInput, SetKeyMetricsResponse, SetKeyMetricsResponses, SetRevenueData, SetRevenueError, SetRevenueErrors, SetRevenueInput, SetRevenueResponse, SetRevenueResponses, TagsDeletedOutput } from './types.gen.js';
|
|
3
|
+
export { deleteCustomersTags, deleteKeyMetrics, deleteRevenue, getCustomers, getCustomersTags, getFeatures, getKeyMetrics, getMargin, getModels, getProject, getProviders, getRevenue, getTags, type Options, setCustomersTags, setKeyMetrics, setRevenue } from './sdk.gen.js';
|
|
4
|
+
export type { AllCustomerTagsOutput, ApiErrorOutput, ClientOptions, CustomerMarginRow, CustomerOutput, CustomersOutput, CustomersUpdatedOutput, CustomerTags, CustomerTagsOutput, DeleteCustomersTagsData, DeleteCustomersTagsError, DeleteCustomersTagsErrors, DeleteCustomersTagsResponse, DeleteCustomersTagsResponses, DeleteKeyMetricsData, DeleteKeyMetricsError, DeleteKeyMetricsErrors, DeleteKeyMetricsResponse, DeleteKeyMetricsResponses, DeleteRevenueData, DeleteRevenueError, DeleteRevenueErrors, DeleteRevenueResponse, DeleteRevenueResponses, FeaturesOutput, GetCustomersData, GetCustomersError, GetCustomersErrors, GetCustomersResponse, GetCustomersResponses, GetCustomersTagsData, GetCustomersTagsError, GetCustomersTagsErrors, GetCustomersTagsResponse, GetCustomersTagsResponses, GetFeaturesData, GetFeaturesError, GetFeaturesErrors, GetFeaturesResponse, GetFeaturesResponses, GetKeyMetricsData, GetKeyMetricsError, GetKeyMetricsErrors, GetKeyMetricsResponse, GetKeyMetricsResponses, GetMarginData, GetMarginError, GetMarginErrors, GetMarginResponse, GetMarginResponses, GetModelsData, GetModelsError, GetModelsErrors, GetModelsResponse, GetModelsResponses, GetProjectData, GetProjectError, GetProjectErrors, GetProjectResponse, GetProjectResponses, GetProvidersData, GetProvidersError, GetProvidersErrors, GetProvidersResponse, GetProvidersResponses, GetRevenueData, GetRevenueError, GetRevenueErrors, GetRevenueResponse, GetRevenueResponses, GetTagsData, GetTagsError, GetTagsErrors, GetTagsResponse, GetTagsResponses, InvalidFieldDetail, InvalidPayloadOutput, KeyMetricOutput, KeyMetricRow, KeyMetricRowOutput, MarginListOutput, ModelsOutput, ProjectOutput, ProvidersOutput, RevenueOrKeyMetricDeletedRowOutput, RevenueOrKeyMetricImportedRowOutput, RevenueOutput, RevenueRow, RevenueRowOutput, SetCustomersTagsData, SetCustomersTagsError, SetCustomersTagsErrors, SetCustomersTagsResponse, SetCustomersTagsResponses, SetCustomerTagsInput, SetKeyMetricsData, SetKeyMetricsError, SetKeyMetricsErrors, SetKeyMetricsInput, SetKeyMetricsResponse, SetKeyMetricsResponses, SetRevenueData, SetRevenueError, SetRevenueErrors, SetRevenueInput, SetRevenueResponse, SetRevenueResponses, TagsDeletedOutput, TagsOutput } from './types.gen.js';
|