@zeniai/client-epic-state 4.20.2-beta0ND → 4.20.2-beta10ND

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.
@@ -1,7 +1,7 @@
1
+ import type { AiCfoSuggestedQuestionsPageContext } from '../../common/aiCfo/aiCfoSuggestedQuestionsPageContext';
1
2
  import { AiCfoAnswerPayload, ChatSessionPayload } from '../../entity/aiCfo/aiCfoPayload';
2
3
  import { UserRolePayload } from '../../entity/userRole/userRolePayload';
3
4
  import { ZeniAPIResponse } from '../../responsePayload';
4
- import type { AiCfoSuggestedQuestionsPageContext } from '../../common/aiCfo/aiCfoSuggestedQuestionsPageContext';
5
5
  export type ContextStatus = 'NONE' | 'NOT_FOUND' | 'PERMISSION_DENIED' | 'SUCCESS';
6
6
  export interface CreateSessionResponseData {
7
7
  chat_session_id: string;
@@ -1,10 +1,10 @@
1
+ import type { AiCfoSuggestedQuestionsPageContext } from '../../common/aiCfo/aiCfoSuggestedQuestionsPageContext';
1
2
  import { FetchStateAndError, ID } from '../../commonStateTypes/common';
2
3
  import { PageToken } from '../../commonStateTypes/viewAndReport/viewAndReport';
3
4
  import { ChatSessionPayload } from '../../entity/aiCfo/aiCfoPayload';
4
5
  import { AiCfoAnswerResponseType } from '../../entity/aiCfo/aiCfoState';
5
6
  import { ZeniAPIStatus } from '../../responsePayload';
6
7
  import { ContextStatus } from './aiCfoViewPayload';
7
- import type { AiCfoSuggestedQuestionsPageContext } from '../../common/aiCfo/aiCfoSuggestedQuestionsPageContext';
8
8
  import { AiCfoViewState } from './aiCfoViewState';
9
9
  export declare const initialAiCfoViewState: AiCfoViewState;
10
10
  export declare const submitQuestion: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[sessionId: string, questionAnswerId: string, userId: string, questionId: string, createdAt: import("dayjs").Dayjs, question: string, files?: File[] | undefined], {
@@ -1,9 +1,9 @@
1
+ import type { AiCfoSuggestedQuestionsPageContext } from '../../common/aiCfo/aiCfoSuggestedQuestionsPageContext';
1
2
  import { ID } from '../../commonStateTypes/common';
2
3
  import { FetchStateAndError } from '../../commonStateTypes/common';
3
4
  import { SelectorView } from '../../commonStateTypes/viewAndReport/viewAndReport';
4
5
  import { AiCfoSelectorView } from '../../entity/aiCfo/aiCfoSelector';
5
6
  import { RootState } from '../../reducer';
6
- import type { AiCfoSuggestedQuestionsPageContext } from '../../common/aiCfo/aiCfoSuggestedQuestionsPageContext';
7
7
  import { AiCfoViewUIState, SuggestedQuestionsForPageContext } from './aiCfoViewState';
8
8
  export interface AiCfoViewSelector extends SelectorView, AiCfoSelectorView {
9
9
  createSessionAndSubmitState: FetchStateAndError;
@@ -3,7 +3,7 @@ import { CompanyWithSchema } from '../../../../entity/company/companySelector';
3
3
  import { OnboardingCustomerInfo } from '../../../../entity/onboardingCustomer/onboardingCustomerState';
4
4
  import { Tenant } from '../../../../entity/tenant/tenantState';
5
5
  import { CompanyDetailsLocalData, PrimaryContactLocalData } from '../../../spendManagement/commonSetup/setupViewState';
6
- declare const toProductGroupType: (v: string) => "other" | "bookkeeping" | "banking" | "spend_management" | "cards";
6
+ declare const toProductGroupType: (v: string) => "cards" | "other" | "bookkeeping" | "banking" | "spend_management";
7
7
  export type ProductGroupType = ReturnType<typeof toProductGroupType>;
8
8
  export declare const toProductType: (v: string) => "zeni_treasury" | "other" | "bookkeeping" | "zeni_checking" | "zeni_bill_pay" | "zeni_reimbursements" | "zeni_cards" | "zeni_payroll" | "zeni_cfo" | "zeni_tax";
9
9
  export declare const toProductTypeStrict: (v: string) => "zeni_treasury" | "other" | "bookkeeping" | "zeni_checking" | "zeni_bill_pay" | "zeni_reimbursements" | "zeni_cards" | "zeni_payroll" | "zeni_cfo" | "zeni_tax" | undefined;
@@ -42,7 +42,7 @@ interface TwoFAState {
42
42
  otpChallenge?: string;
43
43
  phone?: string;
44
44
  }
45
- export declare const toChargeCardTransactionSortKeyType: (v: string) => "amount" | "type" | "merchant" | "paymentDate" | "receipts";
45
+ export declare const toChargeCardTransactionSortKeyType: (v: string) => "amount" | "type" | "receipts" | "merchant" | "paymentDate";
46
46
  export declare type ChargeCardTransactionSortKey = ReturnType<typeof toChargeCardTransactionSortKeyType>;
47
47
  export interface ChargeCardDetailTransactionList extends FetchStateAndError {
48
48
  isViewReceiptClickedImmediatelyAfterUploadTransactionId: Record<ID, boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.20.2-beta0ND",
3
+ "version": "4.20.2-beta10ND",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/esm/index.js",