@smartsides/oracle-ebs-sdk 1.0.7 → 1.0.10

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.
@@ -173,16 +173,16 @@ declare class LeavesModule extends BaseClient {
173
173
  createRequest(input: CreateLeaveRequestInput): Promise<CreateLeaveRequestResponse>;
174
174
  }
175
175
 
176
- interface SitSegment {
176
+ interface SitSegment$1 {
177
177
  segmentName: string;
178
178
  segmentValue: string;
179
179
  displayValue?: string;
180
180
  }
181
- interface GetSitSegmentsParams {
181
+ interface GetSitSegmentsParams$1 {
182
182
  idFlexNum: string;
183
183
  }
184
- interface GetSitSegmentsResponse {
185
- segments: SitSegment[];
184
+ interface GetSitSegmentsResponse$1 {
185
+ segments: SitSegment$1[];
186
186
  }
187
187
  interface SaveAndPreviewSitRequestInput {
188
188
  itemType: string;
@@ -216,6 +216,8 @@ interface SubmitSitRequestResponse {
216
216
  itemKey: string;
217
217
  }
218
218
  interface GetSitHistoryParams {
219
+ sitName: string;
220
+ transactionId?: string;
219
221
  startDate?: string;
220
222
  endDate?: string;
221
223
  }
@@ -231,10 +233,10 @@ interface GetSitHistoryResponse {
231
233
  }
232
234
 
233
235
  declare class SitRequestsModule extends BaseClient {
234
- getSegments(params: GetSitSegmentsParams): Promise<GetSitSegmentsResponse>;
236
+ getSegments(params: GetSitSegmentsParams$1): Promise<GetSitSegmentsResponse$1>;
235
237
  saveAndPreview(input: SaveAndPreviewSitRequestInput): Promise<SaveAndPreviewSitRequestResponse>;
236
238
  submit(input: SubmitSitRequestInput): Promise<SubmitSitRequestResponse>;
237
- getHistory(params?: GetSitHistoryParams): Promise<GetSitHistoryResponse>;
239
+ getHistory(params: GetSitHistoryParams): Promise<GetSitHistoryResponse>;
238
240
  }
239
241
 
240
242
  interface Notification {
@@ -448,7 +450,6 @@ interface GetPayslipRunBalancesResponse {
448
450
  }
449
451
 
450
452
  declare class PayslipModule extends BaseClient {
451
- private getEmployeeNumberFromContext;
452
453
  getHeader(params: GetPayslipHeaderParams): Promise<PayslipHeader>;
453
454
  getDetails(params: GetPayslipDetailsParams): Promise<GetPayslipDetailsResponse>;
454
455
  getLeaveDetails(params: GetPayslipLeaveDetailsParams): Promise<GetPayslipLeaveDetailsResponse>;
@@ -559,6 +560,169 @@ declare class HealthModule extends BaseClient {
559
560
  ping(): Promise<string>;
560
561
  }
561
562
 
563
+ declare enum MessageRole {
564
+ USER = "user",
565
+ ASSISTANT = "assistant",
566
+ SYSTEM = "system"
567
+ }
568
+ declare enum ActionType {
569
+ NAVIGATE = "navigate",
570
+ API_CALL = "api_call",
571
+ DOWNLOAD = "download",
572
+ CLOSE_NOTIFICATION = "close_notification",
573
+ SUBMIT_LEAVE = "submit_leave",
574
+ APPROVE_NOTIFICATION = "approve_notification",
575
+ DECLINE_NOTIFICATION = "decline_notification"
576
+ }
577
+ declare enum UserIntent {
578
+ NOTIFICATIONS_SUMMARY = "notifications_summary",
579
+ NOTIFICATION_CLOSE = "notification_close",
580
+ NOTIFICATION_ACTION = "notification_action",
581
+ PAYSLIP_QUERY = "payslip_query",
582
+ PAYSLIP_RETRIEVAL = "payslip_retrieval",
583
+ SALARY_DEDUCTION = "salary_deduction",
584
+ LEAVE_BALANCE = "leave_balance",
585
+ LEAVE_REQUEST = "leave_request",
586
+ PROFILE_INFO = "profile_info",
587
+ HIRING_DATE = "hiring_date",
588
+ POSITION_INFO = "position_info",
589
+ GENERAL_QUERY = "general_query",
590
+ OUT_OF_SCOPE = "out_of_scope"
591
+ }
592
+ interface ChatMessage {
593
+ role: MessageRole;
594
+ content: string;
595
+ }
596
+ interface CallToAction {
597
+ id: string;
598
+ label: string;
599
+ type: ActionType;
600
+ params?: Record<string, any>;
601
+ path?: string;
602
+ icon?: string;
603
+ variant?: 'default' | 'outline' | 'ghost' | 'destructive';
604
+ }
605
+ interface AiResponse {
606
+ message: string;
607
+ ctas?: CallToAction[];
608
+ metadata?: {
609
+ intent?: UserIntent;
610
+ model?: string;
611
+ tokensUsed?: number;
612
+ [key: string]: any;
613
+ };
614
+ requiresAction?: boolean;
615
+ chartData?: any;
616
+ threadId?: string;
617
+ }
618
+ interface ChatRequest {
619
+ message: string;
620
+ language?: 'en' | 'ar';
621
+ history?: ChatMessage[];
622
+ threadId?: string;
623
+ }
624
+ interface VoiceTranscription {
625
+ text: string;
626
+ language: string;
627
+ confidence?: number;
628
+ duration?: number;
629
+ }
630
+ interface VoiceResponse {
631
+ transcription: VoiceTranscription;
632
+ response: AiResponse;
633
+ }
634
+ interface ChatHistory {
635
+ id: string;
636
+ messages: Array<ChatMessage & {
637
+ timestamp: Date;
638
+ }>;
639
+ createdAt: Date;
640
+ updatedAt: Date;
641
+ }
642
+ interface ChatThread {
643
+ id: string;
644
+ userId: string;
645
+ username: string;
646
+ title: string | null;
647
+ status: string;
648
+ intent: string | null;
649
+ createdAt: Date;
650
+ updatedAt: Date;
651
+ lastMessageAt: Date;
652
+ messageCount: number;
653
+ }
654
+ interface ThreadMessage {
655
+ id: string;
656
+ threadId: string;
657
+ role: 'user' | 'assistant';
658
+ content: string;
659
+ metadata?: {
660
+ intent?: string;
661
+ ctas?: CallToAction[];
662
+ tokensUsed?: number;
663
+ [key: string]: any;
664
+ };
665
+ createdAt: Date;
666
+ }
667
+ interface GetThreadMessagesResponse {
668
+ thread: ChatThread;
669
+ messages: ThreadMessage[];
670
+ }
671
+ interface GetThreadsResponse {
672
+ threads: ChatThread[];
673
+ }
674
+ interface CreateThreadResponse {
675
+ thread: ChatThread;
676
+ }
677
+ interface DeleteThreadResponse {
678
+ success: boolean;
679
+ message: string;
680
+ }
681
+
682
+ declare class AiModule extends BaseClient {
683
+ sendMessage(request: ChatRequest): Promise<AiResponse>;
684
+ sendVoice(audioBlob: Blob, options?: {
685
+ language?: 'en' | 'ar';
686
+ threadId?: string;
687
+ }): Promise<VoiceResponse>;
688
+ saveChatMessage(message: ChatMessage): void;
689
+ getLocalChatHistory(): Array<ChatMessage & {
690
+ timestamp: Date;
691
+ }>;
692
+ clearChatHistory(): void;
693
+ getChatThreads(): Promise<ChatThread[]>;
694
+ getThreadMessages(threadId: string): Promise<GetThreadMessagesResponse>;
695
+ createThread(): Promise<ChatThread>;
696
+ deleteThread(threadId: string): Promise<void>;
697
+ }
698
+
699
+ interface GetSitSegmentsParams {
700
+ idFlexNum: string;
701
+ }
702
+ interface SitSegment {
703
+ segmentNumber?: string;
704
+ segmentName?: string;
705
+ segmentPrompt?: string;
706
+ applicationColumnName?: string;
707
+ requiredFlag?: string;
708
+ defaultType?: string;
709
+ originalDefaultValue?: string;
710
+ executedDefaultValue?: string;
711
+ valueSetId?: string;
712
+ flexValueSetName?: string;
713
+ validationType?: string;
714
+ enabledFlag?: string;
715
+ displayedFlag?: string;
716
+ updatableFlag?: string;
717
+ insertableFlag?: string;
718
+ executionStatus?: string;
719
+ }
720
+ type GetSitSegmentsResponse = SitSegment[];
721
+
722
+ declare class SegmentsModule extends BaseClient {
723
+ getSitSegments(params: GetSitSegmentsParams): Promise<GetSitSegmentsResponse>;
724
+ }
725
+
562
726
  declare class OracleEBSClient {
563
727
  readonly auth: AuthModule;
564
728
  readonly leaves: LeavesModule;
@@ -569,6 +733,8 @@ declare class OracleEBSClient {
569
733
  readonly accrualBalances: AccrualBalancesModule;
570
734
  readonly forms: FormsModule;
571
735
  readonly health: HealthModule;
736
+ readonly ai: AiModule;
737
+ readonly segments: SegmentsModule;
572
738
  constructor(config: OracleEBSConfig);
573
739
  setToken(token: string, user?: {
574
740
  userName?: string;
@@ -581,4 +747,4 @@ declare class OracleEBSClient {
581
747
  clearToken(): void;
582
748
  }
583
749
 
584
- export { type APIResponse as A, type GetPayslipDetailsParams as B, type CacheOptions as C, type PayslipDetail as D, type GetPayslipDetailsResponse as E, type PersonalInformation as F, type GetAbsenceTypesParams as G, type EmployeeHierarchyNode as H, type GetEmployeeHierarchyResponse as I, type GetTableColumnsParams as J, type GetTableColumnsResponse as K, type LoginCredentials as L, type DffSegment as M, type Notification as N, OracleEBSClient as O, type ProcessApprovalInput as P, type GetDffSegmentsParams as Q, type RetryOptions as R, type SitSegment as S, type TableColumn as T, type UserContext as U, type GetDffSegmentsResponse as V, type HealthCheckResponse as W, type AccrualBalance as X, type GetAccrualBalancesParams as Y, type GetAccrualBalancesResponse as Z, type OracleEBSConfig as a, type LoginResponse as b, type Responsibility as c, type AbsenceType as d, type GetAbsenceTypesResponse as e, type LeaveHistoryRecord as f, type GetLeaveHistoryResponse as g, type CreateLeaveRequestInput as h, type CreateLeaveRequestResponse as i, type GetSitSegmentsParams as j, type GetSitSegmentsResponse as k, type SaveAndPreviewSitRequestInput as l, type SaveAndPreviewSitRequestResponse as m, type SubmitSitRequestInput as n, type SubmitSitRequestResponse as o, type GetSitHistoryParams as p, type SitHistoryRecord as q, type GetSitHistoryResponse as r, type GetNotificationsResponse as s, type NotificationDetails as t, type GetNotificationDetailsParams as u, type ProcessApprovalResponse as v, type CloseFyiParams as w, type CloseFyiResponse as x, type GetPayslipHeaderParams as y, type PayslipHeader as z };
750
+ export { type GetAccrualBalancesParams as $, type APIResponse as A, type CloseFyiResponse as B, type CacheOptions as C, type GetPayslipHeaderParams as D, type PayslipHeader as E, type GetPayslipDetailsParams as F, type GetAbsenceTypesParams as G, type PayslipDetail as H, type GetPayslipDetailsResponse as I, type PersonalInformation as J, type EmployeeHierarchyNode as K, type LoginCredentials as L, type GetEmployeeHierarchyResponse as M, type Notification as N, OracleEBSClient as O, type ProcessApprovalInput as P, type GetTableColumnsParams as Q, type RetryOptions as R, type SitSegment$1 as S, type TableColumn as T, type UserContext as U, type GetTableColumnsResponse as V, type DffSegment as W, type GetDffSegmentsParams as X, type GetDffSegmentsResponse as Y, type HealthCheckResponse as Z, type AccrualBalance as _, type OracleEBSConfig as a, type GetAccrualBalancesResponse as a0, MessageRole as a1, ActionType as a2, UserIntent as a3, type ChatMessage as a4, type CallToAction as a5, type AiResponse as a6, type ChatRequest as a7, type VoiceTranscription as a8, type VoiceResponse as a9, type ChatHistory as aa, type ChatThread as ab, type ThreadMessage as ac, type GetThreadMessagesResponse as ad, type GetThreadsResponse as ae, type CreateThreadResponse as af, type DeleteThreadResponse as ag, type LoginResponse as b, type Responsibility as c, type AbsenceType as d, type GetAbsenceTypesResponse as e, type LeaveHistoryRecord as f, type GetLeaveHistoryResponse as g, type CreateLeaveRequestInput as h, type CreateLeaveRequestResponse as i, type GetSitSegmentsParams$1 as j, type GetSitSegmentsResponse$1 as k, type SaveAndPreviewSitRequestInput as l, type SaveAndPreviewSitRequestResponse as m, type SubmitSitRequestInput as n, type SubmitSitRequestResponse as o, type GetSitHistoryParams as p, type SitHistoryRecord as q, type GetSitHistoryResponse as r, type SitSegment as s, type GetSitSegmentsParams as t, type GetSitSegmentsResponse as u, type GetNotificationsResponse as v, type NotificationDetails as w, type GetNotificationDetailsParams as x, type ProcessApprovalResponse as y, type CloseFyiParams as z };
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
3
- import { G as GetAbsenceTypesParams, j as GetSitSegmentsParams, Q as GetDffSegmentsParams, O as OracleEBSClient, b as LoginResponse, L as LoginCredentials, U as UserContext, e as GetAbsenceTypesResponse, g as GetLeaveHistoryResponse, i as CreateLeaveRequestResponse, h as CreateLeaveRequestInput, k as GetSitSegmentsResponse, m as SaveAndPreviewSitRequestResponse, l as SaveAndPreviewSitRequestInput, o as SubmitSitRequestResponse, n as SubmitSitRequestInput, s as GetNotificationsResponse, u as GetNotificationDetailsParams, t as NotificationDetails, v as ProcessApprovalResponse, P as ProcessApprovalInput, y as GetPayslipHeaderParams, z as PayslipHeader, B as GetPayslipDetailsParams, E as GetPayslipDetailsResponse, F as PersonalInformation, I as GetEmployeeHierarchyResponse, Y as GetAccrualBalancesParams, Z as GetAccrualBalancesResponse, J as GetTableColumnsParams, K as GetTableColumnsResponse, V as GetDffSegmentsResponse, W as HealthCheckResponse } from '../OracleEBSClient-C2zQ1MaD.mjs';
3
+ import { G as GetAbsenceTypesParams, j as GetSitSegmentsParams, X as GetDffSegmentsParams, O as OracleEBSClient, b as LoginResponse, L as LoginCredentials, U as UserContext, e as GetAbsenceTypesResponse, g as GetLeaveHistoryResponse, i as CreateLeaveRequestResponse, h as CreateLeaveRequestInput, k as GetSitSegmentsResponse, m as SaveAndPreviewSitRequestResponse, l as SaveAndPreviewSitRequestInput, o as SubmitSitRequestResponse, n as SubmitSitRequestInput, v as GetNotificationsResponse, x as GetNotificationDetailsParams, w as NotificationDetails, y as ProcessApprovalResponse, P as ProcessApprovalInput, D as GetPayslipHeaderParams, E as PayslipHeader, F as GetPayslipDetailsParams, I as GetPayslipDetailsResponse, J as PersonalInformation, M as GetEmployeeHierarchyResponse, $ as GetAccrualBalancesParams, a0 as GetAccrualBalancesResponse, Q as GetTableColumnsParams, V as GetTableColumnsResponse, Y as GetDffSegmentsResponse, Z as HealthCheckResponse } from '../OracleEBSClient-DFGpQFfQ.mjs';
4
4
  import 'ky';
5
5
 
6
6
  declare const queryKeys: {
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { UseMutationOptions, UseQueryOptions } from '@tanstack/react-query';
3
- import { G as GetAbsenceTypesParams, j as GetSitSegmentsParams, Q as GetDffSegmentsParams, O as OracleEBSClient, b as LoginResponse, L as LoginCredentials, U as UserContext, e as GetAbsenceTypesResponse, g as GetLeaveHistoryResponse, i as CreateLeaveRequestResponse, h as CreateLeaveRequestInput, k as GetSitSegmentsResponse, m as SaveAndPreviewSitRequestResponse, l as SaveAndPreviewSitRequestInput, o as SubmitSitRequestResponse, n as SubmitSitRequestInput, s as GetNotificationsResponse, u as GetNotificationDetailsParams, t as NotificationDetails, v as ProcessApprovalResponse, P as ProcessApprovalInput, y as GetPayslipHeaderParams, z as PayslipHeader, B as GetPayslipDetailsParams, E as GetPayslipDetailsResponse, F as PersonalInformation, I as GetEmployeeHierarchyResponse, Y as GetAccrualBalancesParams, Z as GetAccrualBalancesResponse, J as GetTableColumnsParams, K as GetTableColumnsResponse, V as GetDffSegmentsResponse, W as HealthCheckResponse } from '../OracleEBSClient-C2zQ1MaD.js';
3
+ import { G as GetAbsenceTypesParams, j as GetSitSegmentsParams, X as GetDffSegmentsParams, O as OracleEBSClient, b as LoginResponse, L as LoginCredentials, U as UserContext, e as GetAbsenceTypesResponse, g as GetLeaveHistoryResponse, i as CreateLeaveRequestResponse, h as CreateLeaveRequestInput, k as GetSitSegmentsResponse, m as SaveAndPreviewSitRequestResponse, l as SaveAndPreviewSitRequestInput, o as SubmitSitRequestResponse, n as SubmitSitRequestInput, v as GetNotificationsResponse, x as GetNotificationDetailsParams, w as NotificationDetails, y as ProcessApprovalResponse, P as ProcessApprovalInput, D as GetPayslipHeaderParams, E as PayslipHeader, F as GetPayslipDetailsParams, I as GetPayslipDetailsResponse, J as PersonalInformation, M as GetEmployeeHierarchyResponse, $ as GetAccrualBalancesParams, a0 as GetAccrualBalancesResponse, Q as GetTableColumnsParams, V as GetTableColumnsResponse, Y as GetDffSegmentsResponse, Z as HealthCheckResponse } from '../OracleEBSClient-DFGpQFfQ.js';
4
4
  import 'ky';
5
5
 
6
6
  declare const queryKeys: {
package/dist/index.d.mts CHANGED
@@ -1,5 +1,7 @@
1
- export { A as APIResponse, d as AbsenceType, X as AccrualBalance, C as CacheOptions, w as CloseFyiParams, x as CloseFyiResponse, h as CreateLeaveRequestInput, i as CreateLeaveRequestResponse, M as DffSegment, H as EmployeeHierarchyNode, G as GetAbsenceTypesParams, e as GetAbsenceTypesResponse, Y as GetAccrualBalancesParams, Z as GetAccrualBalancesResponse, Q as GetDffSegmentsParams, V as GetDffSegmentsResponse, I as GetEmployeeHierarchyResponse, g as GetLeaveHistoryResponse, u as GetNotificationDetailsParams, s as GetNotificationsResponse, B as GetPayslipDetailsParams, E as GetPayslipDetailsResponse, y as GetPayslipHeaderParams, p as GetSitHistoryParams, r as GetSitHistoryResponse, j as GetSitSegmentsParams, k as GetSitSegmentsResponse, J as GetTableColumnsParams, K as GetTableColumnsResponse, W as HealthCheckResponse, f as LeaveHistoryRecord, L as LoginCredentials, b as LoginResponse, N as Notification, t as NotificationDetails, O as OracleEBSClient, a as OracleEBSConfig, D as PayslipDetail, z as PayslipHeader, F as PersonalInformation, P as ProcessApprovalInput, v as ProcessApprovalResponse, c as Responsibility, R as RetryOptions, l as SaveAndPreviewSitRequestInput, m as SaveAndPreviewSitRequestResponse, q as SitHistoryRecord, S as SitSegment, n as SubmitSitRequestInput, o as SubmitSitRequestResponse, T as TableColumn, U as UserContext } from './OracleEBSClient-C2zQ1MaD.mjs';
1
+ export { A as APIResponse, d as AbsenceType, _ as AccrualBalance, a2 as ActionType, a6 as AiResponse, C as CacheOptions, a5 as CallToAction, aa as ChatHistory, a4 as ChatMessage, a7 as ChatRequest, ab as ChatThread, z as CloseFyiParams, B as CloseFyiResponse, h as CreateLeaveRequestInput, i as CreateLeaveRequestResponse, af as CreateThreadResponse, ag as DeleteThreadResponse, W as DffSegment, K as EmployeeHierarchyNode, G as GetAbsenceTypesParams, e as GetAbsenceTypesResponse, $ as GetAccrualBalancesParams, a0 as GetAccrualBalancesResponse, X as GetDffSegmentsParams, Y as GetDffSegmentsResponse, M as GetEmployeeHierarchyResponse, g as GetLeaveHistoryResponse, x as GetNotificationDetailsParams, v as GetNotificationsResponse, F as GetPayslipDetailsParams, I as GetPayslipDetailsResponse, D as GetPayslipHeaderParams, t as GetSegmentsParams, u as GetSegmentsResponse, p as GetSitHistoryParams, r as GetSitHistoryResponse, j as GetSitSegmentsParams, k as GetSitSegmentsResponse, Q as GetTableColumnsParams, V as GetTableColumnsResponse, ad as GetThreadMessagesResponse, ae as GetThreadsResponse, Z as HealthCheckResponse, f as LeaveHistoryRecord, L as LoginCredentials, b as LoginResponse, a1 as MessageRole, N as Notification, w as NotificationDetails, O as OracleEBSClient, a as OracleEBSConfig, H as PayslipDetail, E as PayslipHeader, J as PersonalInformation, P as ProcessApprovalInput, y as ProcessApprovalResponse, c as Responsibility, R as RetryOptions, l as SaveAndPreviewSitRequestInput, m as SaveAndPreviewSitRequestResponse, s as SegmentItem, q as SitHistoryRecord, S as SitSegment, n as SubmitSitRequestInput, o as SubmitSitRequestResponse, T as TableColumn, ac as ThreadMessage, U as UserContext, a3 as UserIntent, a9 as VoiceResponse, a8 as VoiceTranscription } from './OracleEBSClient-DFGpQFfQ.mjs';
2
+ export { queryKeys, useAccrualBalances, useCreateLeaveRequest, useDffSegments, useEmployeeHierarchy, useHealthCheck, useLeaveHistory, useLeaveTypes, useLogin, useNotificationDetails, useNotifications, usePayslipDetails, usePayslipHeader, usePersonalInfo, useProcessApproval, useSaveAndPreviewSitRequest, useSitSegments, useSubmitSitRequest, useTableColumns, useUserContext } from './hooks/index.mjs';
2
3
  import 'ky';
4
+ import '@tanstack/react-query';
3
5
 
4
6
  declare class APIError extends Error {
5
7
  readonly statusCode: number;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
- export { A as APIResponse, d as AbsenceType, X as AccrualBalance, C as CacheOptions, w as CloseFyiParams, x as CloseFyiResponse, h as CreateLeaveRequestInput, i as CreateLeaveRequestResponse, M as DffSegment, H as EmployeeHierarchyNode, G as GetAbsenceTypesParams, e as GetAbsenceTypesResponse, Y as GetAccrualBalancesParams, Z as GetAccrualBalancesResponse, Q as GetDffSegmentsParams, V as GetDffSegmentsResponse, I as GetEmployeeHierarchyResponse, g as GetLeaveHistoryResponse, u as GetNotificationDetailsParams, s as GetNotificationsResponse, B as GetPayslipDetailsParams, E as GetPayslipDetailsResponse, y as GetPayslipHeaderParams, p as GetSitHistoryParams, r as GetSitHistoryResponse, j as GetSitSegmentsParams, k as GetSitSegmentsResponse, J as GetTableColumnsParams, K as GetTableColumnsResponse, W as HealthCheckResponse, f as LeaveHistoryRecord, L as LoginCredentials, b as LoginResponse, N as Notification, t as NotificationDetails, O as OracleEBSClient, a as OracleEBSConfig, D as PayslipDetail, z as PayslipHeader, F as PersonalInformation, P as ProcessApprovalInput, v as ProcessApprovalResponse, c as Responsibility, R as RetryOptions, l as SaveAndPreviewSitRequestInput, m as SaveAndPreviewSitRequestResponse, q as SitHistoryRecord, S as SitSegment, n as SubmitSitRequestInput, o as SubmitSitRequestResponse, T as TableColumn, U as UserContext } from './OracleEBSClient-C2zQ1MaD.js';
1
+ export { A as APIResponse, d as AbsenceType, _ as AccrualBalance, a2 as ActionType, a6 as AiResponse, C as CacheOptions, a5 as CallToAction, aa as ChatHistory, a4 as ChatMessage, a7 as ChatRequest, ab as ChatThread, z as CloseFyiParams, B as CloseFyiResponse, h as CreateLeaveRequestInput, i as CreateLeaveRequestResponse, af as CreateThreadResponse, ag as DeleteThreadResponse, W as DffSegment, K as EmployeeHierarchyNode, G as GetAbsenceTypesParams, e as GetAbsenceTypesResponse, $ as GetAccrualBalancesParams, a0 as GetAccrualBalancesResponse, X as GetDffSegmentsParams, Y as GetDffSegmentsResponse, M as GetEmployeeHierarchyResponse, g as GetLeaveHistoryResponse, x as GetNotificationDetailsParams, v as GetNotificationsResponse, F as GetPayslipDetailsParams, I as GetPayslipDetailsResponse, D as GetPayslipHeaderParams, t as GetSegmentsParams, u as GetSegmentsResponse, p as GetSitHistoryParams, r as GetSitHistoryResponse, j as GetSitSegmentsParams, k as GetSitSegmentsResponse, Q as GetTableColumnsParams, V as GetTableColumnsResponse, ad as GetThreadMessagesResponse, ae as GetThreadsResponse, Z as HealthCheckResponse, f as LeaveHistoryRecord, L as LoginCredentials, b as LoginResponse, a1 as MessageRole, N as Notification, w as NotificationDetails, O as OracleEBSClient, a as OracleEBSConfig, H as PayslipDetail, E as PayslipHeader, J as PersonalInformation, P as ProcessApprovalInput, y as ProcessApprovalResponse, c as Responsibility, R as RetryOptions, l as SaveAndPreviewSitRequestInput, m as SaveAndPreviewSitRequestResponse, s as SegmentItem, q as SitHistoryRecord, S as SitSegment, n as SubmitSitRequestInput, o as SubmitSitRequestResponse, T as TableColumn, ac as ThreadMessage, U as UserContext, a3 as UserIntent, a9 as VoiceResponse, a8 as VoiceTranscription } from './OracleEBSClient-DFGpQFfQ.js';
2
+ export { queryKeys, useAccrualBalances, useCreateLeaveRequest, useDffSegments, useEmployeeHierarchy, useHealthCheck, useLeaveHistory, useLeaveTypes, useLogin, useNotificationDetails, useNotifications, usePayslipDetails, usePayslipHeader, usePersonalInfo, useProcessApproval, useSaveAndPreviewSitRequest, useSitSegments, useSubmitSitRequest, useTableColumns, useUserContext } from './hooks/index.js';
2
3
  import 'ky';
4
+ import '@tanstack/react-query';
3
5
 
4
6
  declare class APIError extends Error {
5
7
  readonly statusCode: number;