@domu-ai/kiban-sdk 1.176.0 → 1.178.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/dashboard/client.d.ts +0 -80
- package/dashboard/client.js +2 -35
- package/dashboard/schemas.d.ts +0 -36
- package/dashboard/schemas.js +2 -14
- package/internal/client.d.ts +11 -0
- package/internal/schemas.d.ts +997 -942
- package/internal/schemas.js +8 -1
- package/package.json +1 -1
package/dashboard/client.d.ts
CHANGED
|
@@ -590,30 +590,6 @@ export type DashboardSchedulerCreatePost500 = {
|
|
|
590
590
|
code?: string;
|
|
591
591
|
details?: unknown | null;
|
|
592
592
|
};
|
|
593
|
-
export type DashboardClientFeaturesGet200Data = {
|
|
594
|
-
observabilityEnabled: boolean;
|
|
595
|
-
agentsEnabled: boolean;
|
|
596
|
-
qaEnabled: boolean;
|
|
597
|
-
promptViewingEnabled: boolean;
|
|
598
|
-
};
|
|
599
|
-
export type DashboardClientFeaturesGet200 = {
|
|
600
|
-
data: DashboardClientFeaturesGet200Data;
|
|
601
|
-
};
|
|
602
|
-
export type DashboardClientFeaturesGet401 = {
|
|
603
|
-
message: string;
|
|
604
|
-
code?: string;
|
|
605
|
-
details?: unknown | null;
|
|
606
|
-
};
|
|
607
|
-
export type DashboardClientFeaturesGet404 = {
|
|
608
|
-
message: string;
|
|
609
|
-
code?: string;
|
|
610
|
-
details?: unknown | null;
|
|
611
|
-
};
|
|
612
|
-
export type DashboardClientFeaturesGet500 = {
|
|
613
|
-
message: string;
|
|
614
|
-
code?: string;
|
|
615
|
-
details?: unknown | null;
|
|
616
|
-
};
|
|
617
593
|
export type DashboardFlagsGet200DataFlagsVoicebotStudio = {
|
|
618
594
|
enabled: boolean;
|
|
619
595
|
config?: unknown | null;
|
|
@@ -2067,62 +2043,6 @@ export declare const useDashboardSchedulerCreatePost: <TError = DashboardSchedul
|
|
|
2067
2043
|
}, queryClient?: QueryClient) => UseMutationResult<Awaited<ReturnType<typeof dashboardSchedulerCreatePost>>, TError, {
|
|
2068
2044
|
data: DashboardSchedulerCreatePostBody;
|
|
2069
2045
|
}, TContext>;
|
|
2070
|
-
/**
|
|
2071
|
-
* Returns feature flags for the authenticated client's organization.
|
|
2072
|
-
* @summary Get client feature flags
|
|
2073
|
-
*/
|
|
2074
|
-
export type dashboardClientFeaturesGetResponse200 = {
|
|
2075
|
-
data: DashboardClientFeaturesGet200;
|
|
2076
|
-
status: 200;
|
|
2077
|
-
};
|
|
2078
|
-
export type dashboardClientFeaturesGetResponse401 = {
|
|
2079
|
-
data: DashboardClientFeaturesGet401;
|
|
2080
|
-
status: 401;
|
|
2081
|
-
};
|
|
2082
|
-
export type dashboardClientFeaturesGetResponse404 = {
|
|
2083
|
-
data: DashboardClientFeaturesGet404;
|
|
2084
|
-
status: 404;
|
|
2085
|
-
};
|
|
2086
|
-
export type dashboardClientFeaturesGetResponse500 = {
|
|
2087
|
-
data: DashboardClientFeaturesGet500;
|
|
2088
|
-
status: 500;
|
|
2089
|
-
};
|
|
2090
|
-
export type dashboardClientFeaturesGetResponseSuccess = (dashboardClientFeaturesGetResponse200) & {
|
|
2091
|
-
headers: Headers;
|
|
2092
|
-
};
|
|
2093
|
-
export type dashboardClientFeaturesGetResponseError = (dashboardClientFeaturesGetResponse401 | dashboardClientFeaturesGetResponse404 | dashboardClientFeaturesGetResponse500) & {
|
|
2094
|
-
headers: Headers;
|
|
2095
|
-
};
|
|
2096
|
-
export type dashboardClientFeaturesGetResponse = (dashboardClientFeaturesGetResponseSuccess | dashboardClientFeaturesGetResponseError);
|
|
2097
|
-
export declare const getDashboardClientFeaturesGetUrl: () => string;
|
|
2098
|
-
export declare const dashboardClientFeaturesGet: (options?: RequestInit) => Promise<dashboardClientFeaturesGetResponse>;
|
|
2099
|
-
export declare const getDashboardClientFeaturesGetQueryKey: () => readonly ["/v1/dashboard/client/features"];
|
|
2100
|
-
export declare const getDashboardClientFeaturesGetQueryOptions: <TData = Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError = DashboardClientFeaturesGet401 | DashboardClientFeaturesGet404 | DashboardClientFeaturesGet500>(options?: {
|
|
2101
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError, TData>>;
|
|
2102
|
-
request?: SecondParameter<typeof customFetcher>;
|
|
2103
|
-
}) => UseQueryOptions<Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError, TData> & {
|
|
2104
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2105
|
-
};
|
|
2106
|
-
export type DashboardClientFeaturesGetQueryResult = NonNullable<Awaited<ReturnType<typeof dashboardClientFeaturesGet>>>;
|
|
2107
|
-
export type DashboardClientFeaturesGetQueryError = DashboardClientFeaturesGet401 | DashboardClientFeaturesGet404 | DashboardClientFeaturesGet500;
|
|
2108
|
-
export declare function useDashboardClientFeaturesGet<TData = Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError = DashboardClientFeaturesGet401 | DashboardClientFeaturesGet404 | DashboardClientFeaturesGet500>(options: {
|
|
2109
|
-
query: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError, TData>> & Pick<DefinedInitialDataOptions<Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError, Awaited<ReturnType<typeof dashboardClientFeaturesGet>>>, 'initialData'>;
|
|
2110
|
-
request?: SecondParameter<typeof customFetcher>;
|
|
2111
|
-
}, queryClient?: QueryClient): DefinedUseQueryResult<TData, TError> & {
|
|
2112
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2113
|
-
};
|
|
2114
|
-
export declare function useDashboardClientFeaturesGet<TData = Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError = DashboardClientFeaturesGet401 | DashboardClientFeaturesGet404 | DashboardClientFeaturesGet500>(options?: {
|
|
2115
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError, TData>> & Pick<UndefinedInitialDataOptions<Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError, Awaited<ReturnType<typeof dashboardClientFeaturesGet>>>, 'initialData'>;
|
|
2116
|
-
request?: SecondParameter<typeof customFetcher>;
|
|
2117
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2118
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2119
|
-
};
|
|
2120
|
-
export declare function useDashboardClientFeaturesGet<TData = Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError = DashboardClientFeaturesGet401 | DashboardClientFeaturesGet404 | DashboardClientFeaturesGet500>(options?: {
|
|
2121
|
-
query?: Partial<UseQueryOptions<Awaited<ReturnType<typeof dashboardClientFeaturesGet>>, TError, TData>>;
|
|
2122
|
-
request?: SecondParameter<typeof customFetcher>;
|
|
2123
|
-
}, queryClient?: QueryClient): UseQueryResult<TData, TError> & {
|
|
2124
|
-
queryKey: DataTag<QueryKey, TData, TError>;
|
|
2125
|
-
};
|
|
2126
2046
|
/**
|
|
2127
2047
|
* Returns the full set of feature flags (with enabled state and optional config) for the authenticated user's organization. Flags not in the response default to disabled.
|
|
2128
2048
|
* @summary Get feature flags for the authenticated org
|
package/dashboard/client.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getDashboardCallsReviewStatusPostUrl = exports.getDashboardCallsCallIdGetQueryOptions = exports.getDashboardCallsCallIdGetQueryKey = exports.dashboardCallsCallIdGet = exports.getDashboardCallsCallIdGetUrl = exports.getDashboardOutputFieldsGetQueryOptions = exports.getDashboardOutputFieldsGetQueryKey = exports.dashboardOutputFieldsGet = exports.getDashboardOutputFieldsGetUrl = exports.getDashboardInputFieldsGetQueryOptions = exports.getDashboardInputFieldsGetQueryKey = exports.dashboardInputFieldsGet = exports.getDashboardInputFieldsGetUrl = exports.getDashboardAgentsGroupedGetQueryOptions = exports.getDashboardAgentsGroupedGetQueryKey = exports.dashboardAgentsGroupedGet = exports.getDashboardAgentsGroupedGetUrl = exports.getDashboardAgentsGetQueryOptions = exports.getDashboardAgentsGetQueryKey = exports.dashboardAgentsGet = exports.getDashboardAgentsGetUrl = exports.getDashboardCampaignsCampaignIdScheduleConfigGetQueryOptions = exports.getDashboardCampaignsCampaignIdScheduleConfigGetQueryKey = exports.dashboardCampaignsCampaignIdScheduleConfigGet = exports.getDashboardCampaignsCampaignIdScheduleConfigGetUrl = exports.getDashboardCampaignsCampaignIdInputFieldsGetQueryOptions = exports.getDashboardCampaignsCampaignIdInputFieldsGetQueryKey = exports.dashboardCampaignsCampaignIdInputFieldsGet = exports.getDashboardCampaignsCampaignIdInputFieldsGetUrl = exports.getDashboardCampaignsGetQueryOptions = exports.getDashboardCampaignsGetQueryKey = exports.dashboardCampaignsGet = exports.getDashboardCampaignsGetUrl = exports.useDashboardCampaignsNamesPost = exports.getDashboardCampaignsNamesPostMutationOptions = exports.dashboardCampaignsNamesPost = exports.getDashboardCampaignsNamesPostUrl = exports.DashboardCallsCallIdScoringRerunsPost200DataResultsItemItemType = exports.DashboardCallsCallIdScoringGet200DataResultsItemItemType = exports.DashboardScorecardsScorecardIdGet200DataItemsItemType = exports.DashboardCampaignsCampaignIdScorecardsActiveGet200DataItemsItemType = exports.DashboardCampaignsCampaignIdScorecardsPost201DataItemsItemType = exports.DashboardSchedulerCreatePostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerCreatePostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardSchedulerPreviewPost200DataWarningsItemSeverity = exports.DashboardSchedulerPreviewPost200DataWarningsItemType = exports.DashboardSchedulerPreviewPost200DataJourneyStepsItemType = exports.DashboardSchedulerPreviewPostBodyPhoneRotationStatusesItem = exports.DashboardSchedulerPreviewPostBodyTimeSlotsItemDaysOfWeekItem = exports.DashboardCampaignsCampaignIdInputFieldsGet200DataItemType = void 0;
|
|
4
|
-
exports.getDashboardInovoWindmillSchedulesNameTogglePatchMutationOptions = exports.dashboardInovoWindmillSchedulesNameTogglePatch = exports.getDashboardInovoWindmillSchedulesNameTogglePatchUrl = exports.useDashboardInovoWindmillSchedulesNamePut = exports.getDashboardInovoWindmillSchedulesNamePutMutationOptions = exports.dashboardInovoWindmillSchedulesNamePut = exports.getDashboardInovoWindmillSchedulesNamePutUrl = exports.getDashboardInovoWindmillSchedulesNameGetQueryOptions = exports.getDashboardInovoWindmillSchedulesNameGetQueryKey = exports.dashboardInovoWindmillSchedulesNameGet = exports.getDashboardInovoWindmillSchedulesNameGetUrl = exports.getDashboardInovoWindmillSchedulesGetQueryOptions = exports.getDashboardInovoWindmillSchedulesGetQueryKey = exports.dashboardInovoWindmillSchedulesGet = exports.getDashboardInovoWindmillSchedulesGetUrl = exports.getDashboardTargetsLatestGetQueryOptions = exports.getDashboardTargetsLatestGetQueryKey = exports.dashboardTargetsLatestGet = exports.getDashboardTargetsLatestGetUrl = exports.getDashboardFlagsGetQueryOptions = exports.getDashboardFlagsGetQueryKey = exports.dashboardFlagsGet = exports.getDashboardFlagsGetUrl = exports.
|
|
5
|
-
exports.useDashboardCallsCallIdScoringRerunsPost = exports.getDashboardCallsCallIdScoringRerunsPostMutationOptions = exports.dashboardCallsCallIdScoringRerunsPost = exports.getDashboardCallsCallIdScoringRerunsPostUrl = exports.getDashboardCallsCallIdScoringGetQueryOptions = exports.getDashboardCallsCallIdScoringGetQueryKey = exports.dashboardCallsCallIdScoringGet = exports.getDashboardCallsCallIdScoringGetUrl = exports.useDashboardScorecardsScorecardIdActivatePost = exports.getDashboardScorecardsScorecardIdActivatePostMutationOptions = exports.dashboardScorecardsScorecardIdActivatePost = exports.getDashboardScorecardsScorecardIdActivatePostUrl = exports.getDashboardScorecardsScorecardIdGetQueryOptions = exports.getDashboardScorecardsScorecardIdGetQueryKey = exports.dashboardScorecardsScorecardIdGet = exports.getDashboardScorecardsScorecardIdGetUrl = exports.getDashboardCampaignsCampaignIdScorecardsActiveGetQueryOptions = exports.getDashboardCampaignsCampaignIdScorecardsActiveGetQueryKey = exports.dashboardCampaignsCampaignIdScorecardsActiveGet = exports.getDashboardCampaignsCampaignIdScorecardsActiveGetUrl = exports.getDashboardCampaignsCampaignIdScorecardsGetQueryOptions = exports.getDashboardCampaignsCampaignIdScorecardsGetQueryKey = exports.dashboardCampaignsCampaignIdScorecardsGet = exports.getDashboardCampaignsCampaignIdScorecardsGetUrl = exports.useDashboardCampaignsCampaignIdScorecardsPost = exports.getDashboardCampaignsCampaignIdScorecardsPostMutationOptions = exports.dashboardCampaignsCampaignIdScorecardsPost = exports.getDashboardCampaignsCampaignIdScorecardsPostUrl = exports.getDashboardInovoWindmillSchedulesNamePreviewGetQueryOptions = exports.getDashboardInovoWindmillSchedulesNamePreviewGetQueryKey = exports.dashboardInovoWindmillSchedulesNamePreviewGet = exports.getDashboardInovoWindmillSchedulesNamePreviewGetUrl = exports.useDashboardInovoWindmillSchedulesNamePresignUploadPost = exports.getDashboardInovoWindmillSchedulesNamePresignUploadPostMutationOptions = exports.dashboardInovoWindmillSchedulesNamePresignUploadPost = exports.getDashboardInovoWindmillSchedulesNamePresignUploadPostUrl = exports.getDashboardInovoWindmillSchedulesNameRunsGetQueryOptions =
|
|
4
|
+
exports.getDashboardInovoWindmillSchedulesNameRunsGetQueryKey = exports.dashboardInovoWindmillSchedulesNameRunsGet = exports.getDashboardInovoWindmillSchedulesNameRunsGetUrl = exports.useDashboardInovoWindmillSchedulesNameTogglePatch = exports.getDashboardInovoWindmillSchedulesNameTogglePatchMutationOptions = exports.dashboardInovoWindmillSchedulesNameTogglePatch = exports.getDashboardInovoWindmillSchedulesNameTogglePatchUrl = exports.useDashboardInovoWindmillSchedulesNamePut = exports.getDashboardInovoWindmillSchedulesNamePutMutationOptions = exports.dashboardInovoWindmillSchedulesNamePut = exports.getDashboardInovoWindmillSchedulesNamePutUrl = exports.getDashboardInovoWindmillSchedulesNameGetQueryOptions = exports.getDashboardInovoWindmillSchedulesNameGetQueryKey = exports.dashboardInovoWindmillSchedulesNameGet = exports.getDashboardInovoWindmillSchedulesNameGetUrl = exports.getDashboardInovoWindmillSchedulesGetQueryOptions = exports.getDashboardInovoWindmillSchedulesGetQueryKey = exports.dashboardInovoWindmillSchedulesGet = exports.getDashboardInovoWindmillSchedulesGetUrl = exports.getDashboardTargetsLatestGetQueryOptions = exports.getDashboardTargetsLatestGetQueryKey = exports.dashboardTargetsLatestGet = exports.getDashboardTargetsLatestGetUrl = exports.getDashboardFlagsGetQueryOptions = exports.getDashboardFlagsGetQueryKey = exports.dashboardFlagsGet = exports.getDashboardFlagsGetUrl = exports.useDashboardSchedulerCreatePost = exports.getDashboardSchedulerCreatePostMutationOptions = exports.dashboardSchedulerCreatePost = exports.getDashboardSchedulerCreatePostUrl = exports.useDashboardSchedulerPreviewPost = exports.getDashboardSchedulerPreviewPostMutationOptions = exports.dashboardSchedulerPreviewPost = exports.getDashboardSchedulerPreviewPostUrl = exports.useDashboardAgentSandboxStartPost = exports.getDashboardAgentSandboxStartPostMutationOptions = exports.dashboardAgentSandboxStartPost = exports.getDashboardAgentSandboxStartPostUrl = exports.getDashboardCallsCallIdRecordingUrlGetQueryOptions = exports.getDashboardCallsCallIdRecordingUrlGetQueryKey = exports.dashboardCallsCallIdRecordingUrlGet = exports.getDashboardCallsCallIdRecordingUrlGetUrl = exports.useDashboardCallsCallIdReviewPatch = exports.getDashboardCallsCallIdReviewPatchMutationOptions = exports.dashboardCallsCallIdReviewPatch = exports.getDashboardCallsCallIdReviewPatchUrl = exports.useDashboardCallsReviewStatusPost = exports.getDashboardCallsReviewStatusPostMutationOptions = exports.dashboardCallsReviewStatusPost = void 0;
|
|
5
|
+
exports.useDashboardCallsCallIdScoringRerunsPost = exports.getDashboardCallsCallIdScoringRerunsPostMutationOptions = exports.dashboardCallsCallIdScoringRerunsPost = exports.getDashboardCallsCallIdScoringRerunsPostUrl = exports.getDashboardCallsCallIdScoringGetQueryOptions = exports.getDashboardCallsCallIdScoringGetQueryKey = exports.dashboardCallsCallIdScoringGet = exports.getDashboardCallsCallIdScoringGetUrl = exports.useDashboardScorecardsScorecardIdActivatePost = exports.getDashboardScorecardsScorecardIdActivatePostMutationOptions = exports.dashboardScorecardsScorecardIdActivatePost = exports.getDashboardScorecardsScorecardIdActivatePostUrl = exports.getDashboardScorecardsScorecardIdGetQueryOptions = exports.getDashboardScorecardsScorecardIdGetQueryKey = exports.dashboardScorecardsScorecardIdGet = exports.getDashboardScorecardsScorecardIdGetUrl = exports.getDashboardCampaignsCampaignIdScorecardsActiveGetQueryOptions = exports.getDashboardCampaignsCampaignIdScorecardsActiveGetQueryKey = exports.dashboardCampaignsCampaignIdScorecardsActiveGet = exports.getDashboardCampaignsCampaignIdScorecardsActiveGetUrl = exports.getDashboardCampaignsCampaignIdScorecardsGetQueryOptions = exports.getDashboardCampaignsCampaignIdScorecardsGetQueryKey = exports.dashboardCampaignsCampaignIdScorecardsGet = exports.getDashboardCampaignsCampaignIdScorecardsGetUrl = exports.useDashboardCampaignsCampaignIdScorecardsPost = exports.getDashboardCampaignsCampaignIdScorecardsPostMutationOptions = exports.dashboardCampaignsCampaignIdScorecardsPost = exports.getDashboardCampaignsCampaignIdScorecardsPostUrl = exports.getDashboardInovoWindmillSchedulesNamePreviewGetQueryOptions = exports.getDashboardInovoWindmillSchedulesNamePreviewGetQueryKey = exports.dashboardInovoWindmillSchedulesNamePreviewGet = exports.getDashboardInovoWindmillSchedulesNamePreviewGetUrl = exports.useDashboardInovoWindmillSchedulesNamePresignUploadPost = exports.getDashboardInovoWindmillSchedulesNamePresignUploadPostMutationOptions = exports.dashboardInovoWindmillSchedulesNamePresignUploadPost = exports.getDashboardInovoWindmillSchedulesNamePresignUploadPostUrl = exports.getDashboardInovoWindmillSchedulesNameRunsGetQueryOptions = void 0;
|
|
6
6
|
exports.useDashboardCampaignsGet = useDashboardCampaignsGet;
|
|
7
7
|
exports.useDashboardCampaignsCampaignIdInputFieldsGet = useDashboardCampaignsCampaignIdInputFieldsGet;
|
|
8
8
|
exports.useDashboardCampaignsCampaignIdScheduleConfigGet = useDashboardCampaignsCampaignIdScheduleConfigGet;
|
|
@@ -12,7 +12,6 @@ exports.useDashboardInputFieldsGet = useDashboardInputFieldsGet;
|
|
|
12
12
|
exports.useDashboardOutputFieldsGet = useDashboardOutputFieldsGet;
|
|
13
13
|
exports.useDashboardCallsCallIdGet = useDashboardCallsCallIdGet;
|
|
14
14
|
exports.useDashboardCallsCallIdRecordingUrlGet = useDashboardCallsCallIdRecordingUrlGet;
|
|
15
|
-
exports.useDashboardClientFeaturesGet = useDashboardClientFeaturesGet;
|
|
16
15
|
exports.useDashboardFlagsGet = useDashboardFlagsGet;
|
|
17
16
|
exports.useDashboardTargetsLatestGet = useDashboardTargetsLatestGet;
|
|
18
17
|
exports.useDashboardInovoWindmillSchedulesGet = useDashboardInovoWindmillSchedulesGet;
|
|
@@ -603,38 +602,6 @@ const useDashboardSchedulerCreatePost = (options, queryClient) => {
|
|
|
603
602
|
return (0, react_query_1.useMutation)((0, exports.getDashboardSchedulerCreatePostMutationOptions)(options), queryClient);
|
|
604
603
|
};
|
|
605
604
|
exports.useDashboardSchedulerCreatePost = useDashboardSchedulerCreatePost;
|
|
606
|
-
const getDashboardClientFeaturesGetUrl = () => {
|
|
607
|
-
return `/v1/dashboard/client/features`;
|
|
608
|
-
};
|
|
609
|
-
exports.getDashboardClientFeaturesGetUrl = getDashboardClientFeaturesGetUrl;
|
|
610
|
-
const dashboardClientFeaturesGet = async (options) => {
|
|
611
|
-
return (0, fetcher_1.customFetcher)((0, exports.getDashboardClientFeaturesGetUrl)(), {
|
|
612
|
-
...options,
|
|
613
|
-
method: 'GET'
|
|
614
|
-
});
|
|
615
|
-
};
|
|
616
|
-
exports.dashboardClientFeaturesGet = dashboardClientFeaturesGet;
|
|
617
|
-
const getDashboardClientFeaturesGetQueryKey = () => {
|
|
618
|
-
return [
|
|
619
|
-
`/v1/dashboard/client/features`
|
|
620
|
-
];
|
|
621
|
-
};
|
|
622
|
-
exports.getDashboardClientFeaturesGetQueryKey = getDashboardClientFeaturesGetQueryKey;
|
|
623
|
-
const getDashboardClientFeaturesGetQueryOptions = (options) => {
|
|
624
|
-
const { query: queryOptions, request: requestOptions } = options ?? {};
|
|
625
|
-
const queryKey = queryOptions?.queryKey ?? (0, exports.getDashboardClientFeaturesGetQueryKey)();
|
|
626
|
-
const queryFn = () => (0, exports.dashboardClientFeaturesGet)(requestOptions);
|
|
627
|
-
return { queryKey, queryFn, ...queryOptions };
|
|
628
|
-
};
|
|
629
|
-
exports.getDashboardClientFeaturesGetQueryOptions = getDashboardClientFeaturesGetQueryOptions;
|
|
630
|
-
/**
|
|
631
|
-
* @summary Get client feature flags
|
|
632
|
-
*/
|
|
633
|
-
function useDashboardClientFeaturesGet(options, queryClient) {
|
|
634
|
-
const queryOptions = (0, exports.getDashboardClientFeaturesGetQueryOptions)(options);
|
|
635
|
-
const query = (0, react_query_1.useQuery)(queryOptions, queryClient);
|
|
636
|
-
return { ...query, queryKey: queryOptions.queryKey };
|
|
637
|
-
}
|
|
638
605
|
const getDashboardFlagsGetUrl = () => {
|
|
639
606
|
return `/v1/dashboard/flags`;
|
|
640
607
|
};
|
package/dashboard/schemas.d.ts
CHANGED
|
@@ -1160,42 +1160,6 @@ export declare const CreateBody: zod.ZodObject<{
|
|
|
1160
1160
|
name?: string | undefined;
|
|
1161
1161
|
activate?: boolean | undefined;
|
|
1162
1162
|
}>;
|
|
1163
|
-
/**
|
|
1164
|
-
* Returns feature flags for the authenticated client's organization.
|
|
1165
|
-
* @summary Get client feature flags
|
|
1166
|
-
*/
|
|
1167
|
-
export declare const GetClientFeaturesResponse: zod.ZodObject<{
|
|
1168
|
-
data: zod.ZodObject<{
|
|
1169
|
-
observabilityEnabled: zod.ZodBoolean;
|
|
1170
|
-
agentsEnabled: zod.ZodBoolean;
|
|
1171
|
-
qaEnabled: zod.ZodBoolean;
|
|
1172
|
-
promptViewingEnabled: zod.ZodBoolean;
|
|
1173
|
-
}, "strip", zod.ZodTypeAny, {
|
|
1174
|
-
observabilityEnabled: boolean;
|
|
1175
|
-
agentsEnabled: boolean;
|
|
1176
|
-
qaEnabled: boolean;
|
|
1177
|
-
promptViewingEnabled: boolean;
|
|
1178
|
-
}, {
|
|
1179
|
-
observabilityEnabled: boolean;
|
|
1180
|
-
agentsEnabled: boolean;
|
|
1181
|
-
qaEnabled: boolean;
|
|
1182
|
-
promptViewingEnabled: boolean;
|
|
1183
|
-
}>;
|
|
1184
|
-
}, "strip", zod.ZodTypeAny, {
|
|
1185
|
-
data: {
|
|
1186
|
-
observabilityEnabled: boolean;
|
|
1187
|
-
agentsEnabled: boolean;
|
|
1188
|
-
qaEnabled: boolean;
|
|
1189
|
-
promptViewingEnabled: boolean;
|
|
1190
|
-
};
|
|
1191
|
-
}, {
|
|
1192
|
-
data: {
|
|
1193
|
-
observabilityEnabled: boolean;
|
|
1194
|
-
agentsEnabled: boolean;
|
|
1195
|
-
qaEnabled: boolean;
|
|
1196
|
-
promptViewingEnabled: boolean;
|
|
1197
|
-
};
|
|
1198
|
-
}>;
|
|
1199
1163
|
/**
|
|
1200
1164
|
* Returns the full set of feature flags (with enabled state and optional config) for the authenticated user's organization. Flags not in the response default to disabled.
|
|
1201
1165
|
* @summary Get feature flags for the authenticated org
|
package/dashboard/schemas.js
CHANGED
|
@@ -33,8 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.deployScorecardBodyItemsItemTwoCategoryMax = exports.deployScorecardBodyNameMax = exports.DeployScorecardParams = exports.WindmillSchedulesPreviewResponse = exports.WindmillSchedulesPreviewParams = exports.WindmillSchedulesPresignUploadResponse = exports.WindmillSchedulesPresignUploadBody = exports.WindmillSchedulesPresignUploadParams = exports.WindmillSchedulesRunsResponse = exports.WindmillSchedulesRunsParams = exports.WindmillSchedulesToggleResponse = exports.WindmillSchedulesToggleBody = exports.WindmillSchedulesToggleParams = exports.WindmillSchedulesUpdateResponse = exports.WindmillSchedulesUpdateBody = exports.WindmillSchedulesUpdateParams = exports.WindmillSchedulesGetByNameResponse = exports.WindmillSchedulesGetByNameParams = exports.WindmillSchedulesListResponse = exports.GetLatestTargetResponse = exports.GetLatestTargetQueryParams = exports.GetOrgFlagsResponse = exports.
|
|
37
|
-
exports.RerunCallScoringResponse = exports.RerunCallScoringBody = exports.RerunCallScoringParams = exports.GetCallScoringResponse = exports.GetCallScoringQueryParams = exports.GetCallScoringParams = exports.ActivateScorecardResponse = exports.ActivateScorecardParams = exports.GetScorecardResponse = exports.GetScorecardParams = exports.GetActiveScorecardResponse = exports.GetActiveScorecardParams = exports.GetScorecardVersionsResponse = exports.GetScorecardVersionsParams = exports.DeployScorecardBody = exports.deployScorecardBodyItemsItemTwoInstructionMax =
|
|
36
|
+
exports.deployScorecardBodyItemsItemTwoNameMax = exports.deployScorecardBodyItemsItemTwoCategoryMax = exports.deployScorecardBodyNameMax = exports.DeployScorecardParams = exports.WindmillSchedulesPreviewResponse = exports.WindmillSchedulesPreviewParams = exports.WindmillSchedulesPresignUploadResponse = exports.WindmillSchedulesPresignUploadBody = exports.WindmillSchedulesPresignUploadParams = exports.WindmillSchedulesRunsResponse = exports.WindmillSchedulesRunsParams = exports.WindmillSchedulesToggleResponse = exports.WindmillSchedulesToggleBody = exports.WindmillSchedulesToggleParams = exports.WindmillSchedulesUpdateResponse = exports.WindmillSchedulesUpdateBody = exports.WindmillSchedulesUpdateParams = exports.WindmillSchedulesGetByNameResponse = exports.WindmillSchedulesGetByNameParams = exports.WindmillSchedulesListResponse = exports.GetLatestTargetResponse = exports.GetLatestTargetQueryParams = exports.GetOrgFlagsResponse = exports.CreateBody = exports.createBodyTimeSlotsItemTimeRegExp = exports.PreviewResponse = exports.PreviewBody = exports.previewBodyTimeSlotsItemTimeRegExp = exports.StartCallBody = exports.GetRecordingPresignedUrlResponse = exports.GetRecordingPresignedUrlParams = exports.UpdateReviewResponse = exports.UpdateReviewBody = exports.updateReviewBodyNotesMax = exports.UpdateReviewParams = exports.GetReviewStatusResponse = exports.GetReviewStatusBody = exports.GetCallResponse = exports.GetCallParams = exports.GetOutputFieldsResponse = exports.GetInputFieldsResponse = exports.GetAgentsGroupedResponse = exports.GetAgentsResponse = exports.GetScheduleConfigResponse = exports.GetScheduleConfigParams = exports.GetCampaignInputFieldsResponse = exports.GetCampaignInputFieldsParams = exports.GetCampaignsResponse = exports.GetCampaignNamesResponse = exports.GetCampaignNamesBody = void 0;
|
|
37
|
+
exports.RerunCallScoringResponse = exports.RerunCallScoringBody = exports.RerunCallScoringParams = exports.GetCallScoringResponse = exports.GetCallScoringQueryParams = exports.GetCallScoringParams = exports.ActivateScorecardResponse = exports.ActivateScorecardParams = exports.GetScorecardResponse = exports.GetScorecardParams = exports.GetActiveScorecardResponse = exports.GetActiveScorecardParams = exports.GetScorecardVersionsResponse = exports.GetScorecardVersionsParams = exports.DeployScorecardBody = exports.deployScorecardBodyItemsItemTwoInstructionMax = void 0;
|
|
38
38
|
/**
|
|
39
39
|
* Generated by orval v8.2.0 🍺
|
|
40
40
|
* Do not edit manually.
|
|
@@ -309,18 +309,6 @@ exports.CreateBody = zod.object({
|
|
|
309
309
|
}),
|
|
310
310
|
"activate": zod.boolean().optional()
|
|
311
311
|
});
|
|
312
|
-
/**
|
|
313
|
-
* Returns feature flags for the authenticated client's organization.
|
|
314
|
-
* @summary Get client feature flags
|
|
315
|
-
*/
|
|
316
|
-
exports.GetClientFeaturesResponse = zod.object({
|
|
317
|
-
"data": zod.object({
|
|
318
|
-
"observabilityEnabled": zod.boolean(),
|
|
319
|
-
"agentsEnabled": zod.boolean(),
|
|
320
|
-
"qaEnabled": zod.boolean(),
|
|
321
|
-
"promptViewingEnabled": zod.boolean()
|
|
322
|
-
})
|
|
323
|
-
});
|
|
324
312
|
/**
|
|
325
313
|
* Returns the full set of feature flags (with enabled state and optional config) for the authenticated user's organization. Flags not in the response default to disabled.
|
|
326
314
|
* @summary Get feature flags for the authenticated org
|
package/internal/client.d.ts
CHANGED
|
@@ -522,11 +522,22 @@ export type InternalToolsPostBodyMessageToolCallsItem = {
|
|
|
522
522
|
function: InternalToolsPostBodyMessageToolCallsItemFunction;
|
|
523
523
|
[key: string]: unknown;
|
|
524
524
|
};
|
|
525
|
+
export type InternalToolsPostBodyMessageArtifactMessagesItem = {
|
|
526
|
+
role: string;
|
|
527
|
+
message?: string;
|
|
528
|
+
content?: string;
|
|
529
|
+
[key: string]: unknown;
|
|
530
|
+
};
|
|
531
|
+
export type InternalToolsPostBodyMessageArtifact = {
|
|
532
|
+
messages?: InternalToolsPostBodyMessageArtifactMessagesItem[];
|
|
533
|
+
[key: string]: unknown;
|
|
534
|
+
};
|
|
525
535
|
export type InternalToolsPostBodyMessage = {
|
|
526
536
|
type: string;
|
|
527
537
|
call?: InternalToolsPostBodyMessageCall;
|
|
528
538
|
toolCallList?: InternalToolsPostBodyMessageToolCallListItem[];
|
|
529
539
|
toolCalls?: InternalToolsPostBodyMessageToolCallsItem[];
|
|
540
|
+
artifact?: InternalToolsPostBodyMessageArtifact;
|
|
530
541
|
[key: string]: unknown;
|
|
531
542
|
};
|
|
532
543
|
export type InternalToolsPostBody = {
|