@loyal-ix/loyalix-shared-types 1.2.0 → 1.3.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/dist/index.d.mts +26 -1
- package/dist/index.d.ts +26 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -278,6 +278,27 @@ interface UserResponseDto extends UserDto {
|
|
|
278
278
|
lastActive?: string;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* Full image DTO with all metadata for detailed views
|
|
283
|
+
*/
|
|
284
|
+
interface ImageDto {
|
|
285
|
+
id: string;
|
|
286
|
+
url: string;
|
|
287
|
+
thumbnailUrl?: string;
|
|
288
|
+
width: number;
|
|
289
|
+
height: number;
|
|
290
|
+
mimeType: string;
|
|
291
|
+
dominantColor?: string;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Minimal image reference for list views
|
|
295
|
+
*/
|
|
296
|
+
interface ImageRefDto {
|
|
297
|
+
id: string;
|
|
298
|
+
url: string;
|
|
299
|
+
thumbnailUrl?: string;
|
|
300
|
+
}
|
|
301
|
+
|
|
281
302
|
interface CreateBusinessDto {
|
|
282
303
|
name: string;
|
|
283
304
|
email: string;
|
|
@@ -321,6 +342,8 @@ interface BusinessListItemDto {
|
|
|
321
342
|
industryType?: string;
|
|
322
343
|
activeProgramCount?: number;
|
|
323
344
|
totalCustomers?: number;
|
|
345
|
+
profileImage?: ImageRefDto;
|
|
346
|
+
images?: ImageRefDto[];
|
|
324
347
|
}
|
|
325
348
|
/**
|
|
326
349
|
* Detailed business DTO for admin views
|
|
@@ -394,9 +417,11 @@ interface LoyaltyProgramDto {
|
|
|
394
417
|
id: string;
|
|
395
418
|
businessId: string;
|
|
396
419
|
name: string;
|
|
420
|
+
description?: string;
|
|
397
421
|
isActive: boolean;
|
|
398
422
|
createdAt: string;
|
|
399
423
|
updatedAt: string;
|
|
424
|
+
coverImage?: ImageRefDto;
|
|
400
425
|
}
|
|
401
426
|
|
|
402
|
-
export { type ApiResponse, type BusinessDetailDto, type BusinessDto, type BusinessListItemDto, BusinessStatus, type CreateBusinessDto, type CreateCustomerDto, type CreateLoyaltyProgramDto, type CreateUserDto, type CustomerAdminResponseDto, type CustomerDto, type CustomerResponseDto, type ErrorDetail, type ErrorResponse, type ForgotPasswordDto, type LoggedInUserDto, type LoginDto, type LoginResponseDto, type LoyaltyProgramDto, type OAuthCallbackQueryDto, type OAuthErrorResponseDto, type OAuthInitiateDto, OAuthProvider, type OAuthUserDto, type PaginatedResult, type PaginationMeta, type PaginationQuery, Permission, type RefreshTokenDto, type RegisterDto, type ResendVerificationDto, type ResetPasswordDto, Role, type SuccessResponse, type UpdateBusinessDto, type UpdateCustomerDto, type UpdateLoyaltyProgramDto, type UpdateUserDto, type UserDto, type UserResponseDto, type VerificationResponseDto, type VerifyEmailDto };
|
|
427
|
+
export { type ApiResponse, type BusinessDetailDto, type BusinessDto, type BusinessListItemDto, BusinessStatus, type CreateBusinessDto, type CreateCustomerDto, type CreateLoyaltyProgramDto, type CreateUserDto, type CustomerAdminResponseDto, type CustomerDto, type CustomerResponseDto, type ErrorDetail, type ErrorResponse, type ForgotPasswordDto, type ImageDto, type ImageRefDto, type LoggedInUserDto, type LoginDto, type LoginResponseDto, type LoyaltyProgramDto, type OAuthCallbackQueryDto, type OAuthErrorResponseDto, type OAuthInitiateDto, OAuthProvider, type OAuthUserDto, type PaginatedResult, type PaginationMeta, type PaginationQuery, Permission, type RefreshTokenDto, type RegisterDto, type ResendVerificationDto, type ResetPasswordDto, Role, type SuccessResponse, type UpdateBusinessDto, type UpdateCustomerDto, type UpdateLoyaltyProgramDto, type UpdateUserDto, type UserDto, type UserResponseDto, type VerificationResponseDto, type VerifyEmailDto };
|
package/dist/index.d.ts
CHANGED
|
@@ -278,6 +278,27 @@ interface UserResponseDto extends UserDto {
|
|
|
278
278
|
lastActive?: string;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* Full image DTO with all metadata for detailed views
|
|
283
|
+
*/
|
|
284
|
+
interface ImageDto {
|
|
285
|
+
id: string;
|
|
286
|
+
url: string;
|
|
287
|
+
thumbnailUrl?: string;
|
|
288
|
+
width: number;
|
|
289
|
+
height: number;
|
|
290
|
+
mimeType: string;
|
|
291
|
+
dominantColor?: string;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Minimal image reference for list views
|
|
295
|
+
*/
|
|
296
|
+
interface ImageRefDto {
|
|
297
|
+
id: string;
|
|
298
|
+
url: string;
|
|
299
|
+
thumbnailUrl?: string;
|
|
300
|
+
}
|
|
301
|
+
|
|
281
302
|
interface CreateBusinessDto {
|
|
282
303
|
name: string;
|
|
283
304
|
email: string;
|
|
@@ -321,6 +342,8 @@ interface BusinessListItemDto {
|
|
|
321
342
|
industryType?: string;
|
|
322
343
|
activeProgramCount?: number;
|
|
323
344
|
totalCustomers?: number;
|
|
345
|
+
profileImage?: ImageRefDto;
|
|
346
|
+
images?: ImageRefDto[];
|
|
324
347
|
}
|
|
325
348
|
/**
|
|
326
349
|
* Detailed business DTO for admin views
|
|
@@ -394,9 +417,11 @@ interface LoyaltyProgramDto {
|
|
|
394
417
|
id: string;
|
|
395
418
|
businessId: string;
|
|
396
419
|
name: string;
|
|
420
|
+
description?: string;
|
|
397
421
|
isActive: boolean;
|
|
398
422
|
createdAt: string;
|
|
399
423
|
updatedAt: string;
|
|
424
|
+
coverImage?: ImageRefDto;
|
|
400
425
|
}
|
|
401
426
|
|
|
402
|
-
export { type ApiResponse, type BusinessDetailDto, type BusinessDto, type BusinessListItemDto, BusinessStatus, type CreateBusinessDto, type CreateCustomerDto, type CreateLoyaltyProgramDto, type CreateUserDto, type CustomerAdminResponseDto, type CustomerDto, type CustomerResponseDto, type ErrorDetail, type ErrorResponse, type ForgotPasswordDto, type LoggedInUserDto, type LoginDto, type LoginResponseDto, type LoyaltyProgramDto, type OAuthCallbackQueryDto, type OAuthErrorResponseDto, type OAuthInitiateDto, OAuthProvider, type OAuthUserDto, type PaginatedResult, type PaginationMeta, type PaginationQuery, Permission, type RefreshTokenDto, type RegisterDto, type ResendVerificationDto, type ResetPasswordDto, Role, type SuccessResponse, type UpdateBusinessDto, type UpdateCustomerDto, type UpdateLoyaltyProgramDto, type UpdateUserDto, type UserDto, type UserResponseDto, type VerificationResponseDto, type VerifyEmailDto };
|
|
427
|
+
export { type ApiResponse, type BusinessDetailDto, type BusinessDto, type BusinessListItemDto, BusinessStatus, type CreateBusinessDto, type CreateCustomerDto, type CreateLoyaltyProgramDto, type CreateUserDto, type CustomerAdminResponseDto, type CustomerDto, type CustomerResponseDto, type ErrorDetail, type ErrorResponse, type ForgotPasswordDto, type ImageDto, type ImageRefDto, type LoggedInUserDto, type LoginDto, type LoginResponseDto, type LoyaltyProgramDto, type OAuthCallbackQueryDto, type OAuthErrorResponseDto, type OAuthInitiateDto, OAuthProvider, type OAuthUserDto, type PaginatedResult, type PaginationMeta, type PaginationQuery, Permission, type RefreshTokenDto, type RegisterDto, type ResendVerificationDto, type ResetPasswordDto, Role, type SuccessResponse, type UpdateBusinessDto, type UpdateCustomerDto, type UpdateLoyaltyProgramDto, type UpdateUserDto, type UserDto, type UserResponseDto, type VerificationResponseDto, type VerifyEmailDto };
|