@retinalabsllc/zairusjs 15.0.90 → 15.0.95

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/index.d.mts CHANGED
@@ -161,17 +161,17 @@ declare const UniversalOrganizationPage: React.FC<UniversalOrganizationPageProps
161
161
  interface UniversalProfileSettingsProps {
162
162
  initialFirstName: string;
163
163
  initialLastName: string;
164
- email: string;
164
+ phoneNumber: string;
165
165
  accountStatus?: string;
166
166
  memberSince?: string | Date | null;
167
167
  isReadOnly?: boolean;
168
168
  bannerProps?: BannerProps;
169
- hasPin?: boolean;
170
- isPinLoading?: boolean;
171
- onSavePin?: (payload: {
172
- action: 'create_pin' | 'change_pin';
173
- oldPin?: string;
174
- newPin: string;
169
+ hasPasscode?: boolean;
170
+ isPasscodeLoading?: boolean;
171
+ onSavePasscode?: (payload: {
172
+ action: 'create_passcode' | 'change_passcode';
173
+ oldPasscode?: string;
174
+ newPasscode: string;
175
175
  }) => Promise<{
176
176
  success: boolean;
177
177
  error?: string;
@@ -259,10 +259,9 @@ interface UniversalHomeViewProps {
259
259
  balanceLabel?: string;
260
260
  balanceAmount: string;
261
261
  balanceCurrency?: string;
262
- cashbackValue: number;
263
- rewardsValue: number;
264
- primaryAction?: HomeActionBtn;
265
- secondaryAction?: HomeActionBtn;
262
+ calculatorAction?: HomeActionBtn;
263
+ buyCryptoAction?: HomeActionBtn;
264
+ referralAction?: HomeActionBtn;
266
265
  notifications?: NotificationItem[];
267
266
  notificationPage?: number;
268
267
  notificationTotalPages?: number;
@@ -313,26 +312,20 @@ interface CardData {
313
312
  type: string;
314
313
  scheme: string;
315
314
  status: string;
316
- tier: string;
315
+ balance: string;
317
316
  currency: string;
318
317
  cardHolderName: string;
319
318
  cardBgSrc: string;
320
319
  networkLogoSrc: string;
321
- preOrder?: boolean;
322
- contentDark?: boolean;
323
- bannerProps?: BannerProps;
324
- prepaid?: boolean;
325
- balance?: string;
320
+ contentDark: boolean;
326
321
  }
327
322
  interface UniversalCardPageProps {
328
323
  cards: CardData[];
329
324
  actionPath?: string;
330
- onReveal?: (cardId: string) => void | Promise<void>;
331
- onFreeze?: (cardId: string) => void | Promise<void>;
332
- onSetLimits?: (cardId: string) => void;
333
- onDelete?: (cardId: string) => void | Promise<void>;
325
+ onReveal?: (cardId: string) => void;
326
+ onFreeze?: (cardId: string) => Promise<void>;
327
+ onDelete?: (cardId: string) => void;
334
328
  onFundCard?: (cardId: string) => void;
335
- onCreateCard?: () => void;
336
329
  }
337
330
  declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
338
331
 
@@ -423,21 +416,19 @@ interface AppBento2Props {
423
416
  declare const AppBento2: React.FC<AppBento2Props>;
424
417
 
425
418
  interface UniversalSecurityPageProps {
426
- has2FA: boolean;
419
+ hasPasscode: boolean;
427
420
  hasPasskey: boolean;
428
- userEmail?: string;
429
- is2FALoading?: boolean;
421
+ isPasscodeLoading?: boolean;
430
422
  isPasskeyLoading?: boolean;
431
423
  onBack: () => void;
432
- onRequest2FASetup?: () => Promise<{
433
- secret: string;
434
- qrCodeUrl: string;
435
- }>;
436
- onVerifyAndEnable2FA?: (otp: string) => Promise<{
437
- success: boolean;
438
- }>;
439
- onVerifyAndDisable2FA?: (otp: string) => Promise<{
424
+ onSavePasscode?: (payload: {
425
+ action: 'create_passcode' | 'change_passcode';
426
+ oldPasscode?: string;
427
+ newPasscode: string;
428
+ }) => Promise<{
440
429
  success: boolean;
430
+ error?: string;
431
+ message?: string;
441
432
  }>;
442
433
  onRequestPasskeySetup?: () => Promise<any>;
443
434
  onVerifyAndEnablePasskey?: (credential: any) => Promise<{
@@ -866,6 +857,7 @@ interface UniversalReferralItem {
866
857
  interface UniversalReferralPageProps {
867
858
  referralCode: string | null;
868
859
  totalCount: number;
860
+ referralCoins?: number;
869
861
  referrals: UniversalReferralItem[];
870
862
  isLoading: boolean;
871
863
  currentPage: number;
package/dist/index.d.ts CHANGED
@@ -161,17 +161,17 @@ declare const UniversalOrganizationPage: React.FC<UniversalOrganizationPageProps
161
161
  interface UniversalProfileSettingsProps {
162
162
  initialFirstName: string;
163
163
  initialLastName: string;
164
- email: string;
164
+ phoneNumber: string;
165
165
  accountStatus?: string;
166
166
  memberSince?: string | Date | null;
167
167
  isReadOnly?: boolean;
168
168
  bannerProps?: BannerProps;
169
- hasPin?: boolean;
170
- isPinLoading?: boolean;
171
- onSavePin?: (payload: {
172
- action: 'create_pin' | 'change_pin';
173
- oldPin?: string;
174
- newPin: string;
169
+ hasPasscode?: boolean;
170
+ isPasscodeLoading?: boolean;
171
+ onSavePasscode?: (payload: {
172
+ action: 'create_passcode' | 'change_passcode';
173
+ oldPasscode?: string;
174
+ newPasscode: string;
175
175
  }) => Promise<{
176
176
  success: boolean;
177
177
  error?: string;
@@ -259,10 +259,9 @@ interface UniversalHomeViewProps {
259
259
  balanceLabel?: string;
260
260
  balanceAmount: string;
261
261
  balanceCurrency?: string;
262
- cashbackValue: number;
263
- rewardsValue: number;
264
- primaryAction?: HomeActionBtn;
265
- secondaryAction?: HomeActionBtn;
262
+ calculatorAction?: HomeActionBtn;
263
+ buyCryptoAction?: HomeActionBtn;
264
+ referralAction?: HomeActionBtn;
266
265
  notifications?: NotificationItem[];
267
266
  notificationPage?: number;
268
267
  notificationTotalPages?: number;
@@ -313,26 +312,20 @@ interface CardData {
313
312
  type: string;
314
313
  scheme: string;
315
314
  status: string;
316
- tier: string;
315
+ balance: string;
317
316
  currency: string;
318
317
  cardHolderName: string;
319
318
  cardBgSrc: string;
320
319
  networkLogoSrc: string;
321
- preOrder?: boolean;
322
- contentDark?: boolean;
323
- bannerProps?: BannerProps;
324
- prepaid?: boolean;
325
- balance?: string;
320
+ contentDark: boolean;
326
321
  }
327
322
  interface UniversalCardPageProps {
328
323
  cards: CardData[];
329
324
  actionPath?: string;
330
- onReveal?: (cardId: string) => void | Promise<void>;
331
- onFreeze?: (cardId: string) => void | Promise<void>;
332
- onSetLimits?: (cardId: string) => void;
333
- onDelete?: (cardId: string) => void | Promise<void>;
325
+ onReveal?: (cardId: string) => void;
326
+ onFreeze?: (cardId: string) => Promise<void>;
327
+ onDelete?: (cardId: string) => void;
334
328
  onFundCard?: (cardId: string) => void;
335
- onCreateCard?: () => void;
336
329
  }
337
330
  declare const UniversalCardPage: React.FC<UniversalCardPageProps>;
338
331
 
@@ -423,21 +416,19 @@ interface AppBento2Props {
423
416
  declare const AppBento2: React.FC<AppBento2Props>;
424
417
 
425
418
  interface UniversalSecurityPageProps {
426
- has2FA: boolean;
419
+ hasPasscode: boolean;
427
420
  hasPasskey: boolean;
428
- userEmail?: string;
429
- is2FALoading?: boolean;
421
+ isPasscodeLoading?: boolean;
430
422
  isPasskeyLoading?: boolean;
431
423
  onBack: () => void;
432
- onRequest2FASetup?: () => Promise<{
433
- secret: string;
434
- qrCodeUrl: string;
435
- }>;
436
- onVerifyAndEnable2FA?: (otp: string) => Promise<{
437
- success: boolean;
438
- }>;
439
- onVerifyAndDisable2FA?: (otp: string) => Promise<{
424
+ onSavePasscode?: (payload: {
425
+ action: 'create_passcode' | 'change_passcode';
426
+ oldPasscode?: string;
427
+ newPasscode: string;
428
+ }) => Promise<{
440
429
  success: boolean;
430
+ error?: string;
431
+ message?: string;
441
432
  }>;
442
433
  onRequestPasskeySetup?: () => Promise<any>;
443
434
  onVerifyAndEnablePasskey?: (credential: any) => Promise<{
@@ -866,6 +857,7 @@ interface UniversalReferralItem {
866
857
  interface UniversalReferralPageProps {
867
858
  referralCode: string | null;
868
859
  totalCount: number;
860
+ referralCoins?: number;
869
861
  referrals: UniversalReferralItem[];
870
862
  isLoading: boolean;
871
863
  currentPage: number;