Skip to content

Commit 01a1118

Browse files
authored
Merge pull request #42 from contextco/remove-estimated-cost-endpoint
remove estimated cost endpoint
2 parents b5672af + 1fd11d8 commit 01a1118

23 files changed

+1107
-1624
lines changed

examples/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/dist-esm/contextAPI.d.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as coreClient from "@azure/core-client";
22
import { Evaluations, Log } from "./operationsInterfaces";
3-
import { ContextAPIOptionalParams, ConversationSeriesOptionalParams, ConversationSeriesResponse, SentimentOptionalParams, SentimentResponse, RatingOptionalParams, RatingResponse, EstimatedCostOptionalParams, EstimatedCostResponse, VolumeOptionalParams, VolumeResponse, ConversationOptionalParams, ConversationOperationResponse, ConversationsOptionalParams, ConversationsResponse } from "./models";
3+
import { ContextAPIOptionalParams, ConversationSeriesOptionalParams, ConversationSeriesResponse, SentimentOptionalParams, SentimentResponse, RatingOptionalParams, RatingResponse, VolumeOptionalParams, VolumeResponse, ConversationOptionalParams, ConversationOperationResponse, ConversationsOptionalParams, ConversationsResponse } from "./models";
44
export declare class ContextAPI extends coreClient.ServiceClient {
55
$host: string;
66
/**
@@ -23,11 +23,6 @@ export declare class ContextAPI extends coreClient.ServiceClient {
2323
* @param options The options parameters.
2424
*/
2525
rating(options?: RatingOptionalParams): Promise<RatingResponse>;
26-
/**
27-
* Returns estimated cost details
28-
* @param options The options parameters.
29-
*/
30-
estimatedCost(options?: EstimatedCostOptionalParams): Promise<EstimatedCostResponse>;
3126
/**
3227
* Returns volume details
3328
* @param options The options parameters.

generated/dist-esm/contextAPI.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/dist-esm/contextAPI.js

Lines changed: 0 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/dist-esm/contextAPI.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/dist-esm/models/index.d.ts

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,6 @@ export interface PathsXq2NqjApiV1ConversationsSeriesRatingGetResponses200Content
2323
startTime: string;
2424
endTime: string;
2525
}
26-
export interface Paths1J9XfjaApiV1ConversationsSeriesEstimatedCostGetResponses200ContentApplicationJsonSchema {
27-
series: SeriesItem[];
28-
type: string;
29-
period: string;
30-
startTime: string;
31-
endTime: string;
32-
}
3326
export interface Paths1Ola7DlApiV1ConversationsSeriesVolumeGetResponses200ContentApplicationJsonSchema {
3427
series: SeriesItem[];
3528
type: string;
@@ -418,20 +411,6 @@ export interface RatingOptionalParams extends coreClient.OperationOptions {
418411
/** Contains response data for the rating operation. */
419412
export type RatingResponse = PathsXq2NqjApiV1ConversationsSeriesRatingGetResponses200ContentApplicationJsonSchema;
420413
/** Optional parameters. */
421-
export interface EstimatedCostOptionalParams extends coreClient.OperationOptions {
422-
authorization?: string;
423-
/** Filter by tenant id.<br /> */
424-
tenantId?: string;
425-
/** Limits scope to data that occurred after given time.<br />Must be ISO 8601. Defaults to the beginning of 6 days ago.<br /> */
426-
startTime?: string;
427-
/** Limits scope to data that occurred before given time.<br />Must be ISO 8601. Defaults to now.<br /> */
428-
endTime?: string;
429-
/** Period to group data by. Defaults to day. Options are: day, week, month.<br /> */
430-
period?: string;
431-
}
432-
/** Contains response data for the estimatedCost operation. */
433-
export type EstimatedCostResponse = Paths1J9XfjaApiV1ConversationsSeriesEstimatedCostGetResponses200ContentApplicationJsonSchema;
434-
/** Optional parameters. */
435414
export interface VolumeOptionalParams extends coreClient.OperationOptions {
436415
authorization?: string;
437416
/** Filter by tenant id.<br /> */

0 commit comments

Comments
 (0)