sitero-domain 0.1.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.
Files changed (101) hide show
  1. package/dist/export/index.js +7 -0
  2. package/dist/src/resources/admin/props.js +10 -0
  3. package/dist/src/resources/file/props.js +10 -0
  4. package/dist/src/resources/order/props.js +25 -0
  5. package/dist/src/resources/post/props.js +9 -0
  6. package/dist/src/resources/promotion/props.js +12 -0
  7. package/dist/src/resources/recipient/props.js +13 -0
  8. package/dist/src/resources/user/props.js +6 -0
  9. package/dist/types/export/index.d.ts +2 -0
  10. package/dist/types/export/index.d.ts.map +1 -0
  11. package/dist/types/src/index.d.ts +4 -0
  12. package/dist/types/src/index.d.ts.map +1 -0
  13. package/dist/types/src/resources/admin/base.d.ts +14 -0
  14. package/dist/types/src/resources/admin/base.d.ts.map +1 -0
  15. package/dist/types/src/resources/admin/index.d.ts +4 -0
  16. package/dist/types/src/resources/admin/index.d.ts.map +1 -0
  17. package/dist/types/src/resources/admin/props.d.ts +7 -0
  18. package/dist/types/src/resources/admin/props.d.ts.map +1 -0
  19. package/dist/types/src/resources/admin/translation.d.ts +18 -0
  20. package/dist/types/src/resources/admin/translation.d.ts.map +1 -0
  21. package/dist/types/src/resources/admin-refresh-token/base.d.ts +12 -0
  22. package/dist/types/src/resources/admin-refresh-token/base.d.ts.map +1 -0
  23. package/dist/types/src/resources/admin-refresh-token/index.d.ts +2 -0
  24. package/dist/types/src/resources/admin-refresh-token/index.d.ts.map +1 -0
  25. package/dist/types/src/resources/config/base.d.ts +48 -0
  26. package/dist/types/src/resources/config/base.d.ts.map +1 -0
  27. package/dist/types/src/resources/config/index.d.ts +3 -0
  28. package/dist/types/src/resources/config/index.d.ts.map +1 -0
  29. package/dist/types/src/resources/config/translation.d.ts +28 -0
  30. package/dist/types/src/resources/config/translation.d.ts.map +1 -0
  31. package/dist/types/src/resources/device-info.d.ts +15 -0
  32. package/dist/types/src/resources/device-info.d.ts.map +1 -0
  33. package/dist/types/src/resources/file/base.d.ts +20 -0
  34. package/dist/types/src/resources/file/base.d.ts.map +1 -0
  35. package/dist/types/src/resources/file/index.d.ts +4 -0
  36. package/dist/types/src/resources/file/index.d.ts.map +1 -0
  37. package/dist/types/src/resources/file/props.d.ts +10 -0
  38. package/dist/types/src/resources/file/props.d.ts.map +1 -0
  39. package/dist/types/src/resources/file/translation.d.ts +11 -0
  40. package/dist/types/src/resources/file/translation.d.ts.map +1 -0
  41. package/dist/types/src/resources/folder/base.d.ts +10 -0
  42. package/dist/types/src/resources/folder/base.d.ts.map +1 -0
  43. package/dist/types/src/resources/folder/index.d.ts +2 -0
  44. package/dist/types/src/resources/folder/index.d.ts.map +1 -0
  45. package/dist/types/src/resources/index.d.ts +15 -0
  46. package/dist/types/src/resources/index.d.ts.map +1 -0
  47. package/dist/types/src/resources/inquiry/base.d.ts +16 -0
  48. package/dist/types/src/resources/inquiry/base.d.ts.map +1 -0
  49. package/dist/types/src/resources/inquiry/index.d.ts +2 -0
  50. package/dist/types/src/resources/inquiry/index.d.ts.map +1 -0
  51. package/dist/types/src/resources/order/base.d.ts +88 -0
  52. package/dist/types/src/resources/order/base.d.ts.map +1 -0
  53. package/dist/types/src/resources/order/index.d.ts +3 -0
  54. package/dist/types/src/resources/order/index.d.ts.map +1 -0
  55. package/dist/types/src/resources/order/props.d.ts +28 -0
  56. package/dist/types/src/resources/order/props.d.ts.map +1 -0
  57. package/dist/types/src/resources/post/base.d.ts +56 -0
  58. package/dist/types/src/resources/post/base.d.ts.map +1 -0
  59. package/dist/types/src/resources/post/index.d.ts +4 -0
  60. package/dist/types/src/resources/post/index.d.ts.map +1 -0
  61. package/dist/types/src/resources/post/props.d.ts +23 -0
  62. package/dist/types/src/resources/post/props.d.ts.map +1 -0
  63. package/dist/types/src/resources/post/translation.d.ts +34 -0
  64. package/dist/types/src/resources/post/translation.d.ts.map +1 -0
  65. package/dist/types/src/resources/promotion/base.d.ts +25 -0
  66. package/dist/types/src/resources/promotion/base.d.ts.map +1 -0
  67. package/dist/types/src/resources/promotion/index.d.ts +4 -0
  68. package/dist/types/src/resources/promotion/index.d.ts.map +1 -0
  69. package/dist/types/src/resources/promotion/props.d.ts +14 -0
  70. package/dist/types/src/resources/promotion/props.d.ts.map +1 -0
  71. package/dist/types/src/resources/promotion/translation.d.ts +11 -0
  72. package/dist/types/src/resources/promotion/translation.d.ts.map +1 -0
  73. package/dist/types/src/resources/recipient/base.d.ts +25 -0
  74. package/dist/types/src/resources/recipient/base.d.ts.map +1 -0
  75. package/dist/types/src/resources/recipient/index.d.ts +3 -0
  76. package/dist/types/src/resources/recipient/index.d.ts.map +1 -0
  77. package/dist/types/src/resources/recipient/props.d.ts +14 -0
  78. package/dist/types/src/resources/recipient/props.d.ts.map +1 -0
  79. package/dist/types/src/resources/seo-metadata/base.d.ts +36 -0
  80. package/dist/types/src/resources/seo-metadata/base.d.ts.map +1 -0
  81. package/dist/types/src/resources/seo-metadata/index.d.ts +3 -0
  82. package/dist/types/src/resources/seo-metadata/index.d.ts.map +1 -0
  83. package/dist/types/src/resources/seo-metadata/props.d.ts +5 -0
  84. package/dist/types/src/resources/seo-metadata/props.d.ts.map +1 -0
  85. package/dist/types/src/resources/user/base.d.ts +13 -0
  86. package/dist/types/src/resources/user/base.d.ts.map +1 -0
  87. package/dist/types/src/resources/user/index.d.ts +3 -0
  88. package/dist/types/src/resources/user/index.d.ts.map +1 -0
  89. package/dist/types/src/resources/user/props.d.ts +6 -0
  90. package/dist/types/src/resources/user/props.d.ts.map +1 -0
  91. package/dist/types/src/resources/user-refresh-token/base.d.ts +12 -0
  92. package/dist/types/src/resources/user-refresh-token/base.d.ts.map +1 -0
  93. package/dist/types/src/resources/user-refresh-token/index.d.ts +2 -0
  94. package/dist/types/src/resources/user-refresh-token/index.d.ts.map +1 -0
  95. package/dist/types/src/shared/index.d.ts +3 -0
  96. package/dist/types/src/shared/index.d.ts.map +1 -0
  97. package/dist/types/src/shared/item.d.ts +7 -0
  98. package/dist/types/src/shared/item.d.ts.map +1 -0
  99. package/dist/types/src/shared/translation.d.ts +7 -0
  100. package/dist/types/src/shared/translation.d.ts.map +1 -0
  101. package/package.json +24 -0
@@ -0,0 +1,7 @@
1
+ export { ADMIN_ROLES, ADMIN_ROLE_ARRAY } from '../src/resources/admin/props.js';
2
+ export { FILE_TYPES } from '../src/resources/file/props.js';
3
+ export { POST_TYPES } from '../src/resources/post/props.js';
4
+ export { USER_STATUS } from '../src/resources/user/props.js';
5
+ export { CVS_BRAND, SHIPPING_METHOD, isCvsBrand } from '../src/resources/recipient/props.js';
6
+ export { ORDER_PAYMENT_METHODS, ORDER_PAYMENT_STATUS, ORDER_SHIPPING_STATUS, ORDER_STATUS } from '../src/resources/order/props.js';
7
+ export { PROMOTION_BENEFIT_TYPE, PROMOTION_CONDITION_TYPE, PROMOTION_SCOPE_TYPE } from '../src/resources/promotion/props.js';
@@ -0,0 +1,10 @@
1
+ const ADMIN_ROLES = {
2
+ SUPER_ADMIN: "SUPER_ADMIN",
3
+ ADMIN: "ADMIN"
4
+ };
5
+ const ADMIN_ROLE_ARRAY = [
6
+ ADMIN_ROLES.SUPER_ADMIN,
7
+ ADMIN_ROLES.ADMIN
8
+ ];
9
+
10
+ export { ADMIN_ROLES, ADMIN_ROLE_ARRAY };
@@ -0,0 +1,10 @@
1
+ const FILE_TYPES = {
2
+ IMAGE: "IMAGE",
3
+ AUDIO: "AUDIO",
4
+ VIDEO: "VIDEO",
5
+ DOCUMENT: "DOCUMENT",
6
+ ARCHIVE: "ARCHIVE",
7
+ OTHER: "OTHER"
8
+ };
9
+
10
+ export { FILE_TYPES };
@@ -0,0 +1,25 @@
1
+ const ORDER_STATUS = {
2
+ OPEN: "OPEN",
3
+ COMPLETED: "COMPLETED",
4
+ CANCELLED: "CANCELLED"
5
+ };
6
+ const ORDER_PAYMENT_STATUS = {
7
+ PENDING: "PENDING",
8
+ PROCESSING: "PROCESSING",
9
+ PAID: "PAID",
10
+ CANCELLED: "CANCELLED"
11
+ };
12
+ const ORDER_PAYMENT_METHODS = {
13
+ CREDIT_CARD: "CREDIT_CARD",
14
+ BANK_TRANSFER: "BANK_TRANSFER",
15
+ CASH_ON_DELIVERY: "CASH_ON_DELIVERY"
16
+ };
17
+ const ORDER_SHIPPING_STATUS = {
18
+ NOT_READY: "NOT_READY",
19
+ PROCESSING: "PROCESSING",
20
+ SHIPPED: "SHIPPED",
21
+ DELIVERED: "DELIVERED",
22
+ CANCELLED: "CANCELLED"
23
+ };
24
+
25
+ export { ORDER_PAYMENT_METHODS, ORDER_PAYMENT_STATUS, ORDER_SHIPPING_STATUS, ORDER_STATUS };
@@ -0,0 +1,9 @@
1
+ const POST_TYPES = {
2
+ TOPIC: "TOPIC",
3
+ CATEGORY: "CATEGORY",
4
+ POST: "POST",
5
+ TAG: "TAG",
6
+ PAGE: "PAGE"
7
+ };
8
+
9
+ export { POST_TYPES };
@@ -0,0 +1,12 @@
1
+ const PROMOTION_SCOPE_TYPE = {
2
+ GLOBAL: "GLOBAL",
3
+ PRODUCTS: "PRODUCTS"
4
+ };
5
+ const PROMOTION_CONDITION_TYPE = {
6
+ ORDER_SUBTOTAL_AT_LEAST: "ORDER_SUBTOTAL_AT_LEAST"
7
+ };
8
+ const PROMOTION_BENEFIT_TYPE = {
9
+ FIXED_ORDER_DISCOUNT: "FIXED_ORDER_DISCOUNT"
10
+ };
11
+
12
+ export { PROMOTION_BENEFIT_TYPE, PROMOTION_CONDITION_TYPE, PROMOTION_SCOPE_TYPE };
@@ -0,0 +1,13 @@
1
+ const SHIPPING_METHOD = {
2
+ CVS_PICKUP: "CVS_PICKUP",
3
+ HOME_DELIVERY: "HOME_DELIVERY"
4
+ };
5
+ const CVS_BRAND = {
6
+ UNIMART: "UNIMART",
7
+ FAMI: "FAMI",
8
+ HILIFE: "HILIFE",
9
+ OKMART: "OKMART"
10
+ };
11
+ const isCvsBrand = (brand) => Object.values(CVS_BRAND).some((value) => value === brand);
12
+
13
+ export { CVS_BRAND, SHIPPING_METHOD, isCvsBrand };
@@ -0,0 +1,6 @@
1
+ const USER_STATUS = {
2
+ ACTIVE: "ACTIVE",
3
+ SUSPENDED: "SUSPENDED"
4
+ };
5
+
6
+ export { USER_STATUS };
@@ -0,0 +1,2 @@
1
+ export * from "../src";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../export/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,4 @@
1
+ export type { MultiItems, SingleItem } from "./shared";
2
+ export type { BaseTranslation, Translation } from "./shared";
3
+ export { type Admin, type AdminSafe, type AdminTranslation, ADMIN_ROLES, ADMIN_ROLE_ARRAY, type AdminRole, type AdminRefreshToken, type File, type FileTranslation, FILE_TYPES, type FileType, type Folder, type Post, type PostTranslation, POST_TYPES, type PostType, type ExternalLink, type Faq, type TocItem, type SeoMetadata, type Alternate, type Config, type ConfigTranslation, type Inquiry, USER_STATUS, type UserStatus, type User, type UserSafe, type UserRefreshToken, SHIPPING_METHOD, type ShippingMethod, CVS_BRAND, type CvsBrand, isCvsBrand, type Recipient, ORDER_STATUS, type OrderStatus, ORDER_PAYMENT_METHODS, type OrderPaymentMethod, ORDER_PAYMENT_STATUS, type OrderPaymentStatus, ORDER_SHIPPING_STATUS, type OrderShippingStatus, type Order, type OrderItem, PROMOTION_SCOPE_TYPE, type PromotionScopeType, PROMOTION_CONDITION_TYPE, type PromotionConditionType, PROMOTION_BENEFIT_TYPE, type PromotionBenefitType, type Promotion, type PromotionProduct, type PromotionTranslation, type DeviceInfo, } from "./resources";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAGA,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACvD,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAK7D,OAAO,EAEL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,WAAW,EACX,gBAAgB,EAChB,KAAK,SAAS,EAGd,KAAK,iBAAiB,EAGtB,KAAK,IAAI,EACT,KAAK,eAAe,EACpB,UAAU,EACV,KAAK,QAAQ,EAGb,KAAK,MAAM,EAGX,KAAK,IAAI,EACT,KAAK,eAAe,EAEpB,UAAU,EACV,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,GAAG,EACR,KAAK,OAAO,EAGZ,KAAK,WAAW,EAChB,KAAK,SAAS,EAGd,KAAK,MAAM,EACX,KAAK,iBAAiB,EAGtB,KAAK,OAAO,EAGZ,WAAW,EACX,KAAK,UAAU,EACf,KAAK,IAAI,EACT,KAAK,QAAQ,EAGb,KAAK,gBAAgB,EAGrB,eAAe,EACf,KAAK,cAAc,EACnB,SAAS,EACT,KAAK,QAAQ,EACb,UAAU,EACV,KAAK,SAAS,EAGd,YAAY,EACZ,KAAK,WAAW,EAChB,qBAAqB,EACrB,KAAK,kBAAkB,EACvB,oBAAoB,EACpB,KAAK,kBAAkB,EACvB,qBAAqB,EACrB,KAAK,mBAAmB,EACxB,KAAK,KAAK,EACV,KAAK,SAAS,EAGd,oBAAoB,EACpB,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,sBAAsB,EAC3B,sBAAsB,EACtB,KAAK,oBAAoB,EACzB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,oBAAoB,EAGzB,KAAK,UAAU,GAChB,MAAM,aAAa,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { AdminRole } from "./props";
2
+ export interface Admin {
3
+ id: string;
4
+ email: string;
5
+ role: AdminRole;
6
+ passwordHash: string;
7
+ socialLinks: string[];
8
+ avatarImageId: string | null;
9
+ createdAt: Date;
10
+ updatedAt: Date;
11
+ emailVerifiedAt: Date | null;
12
+ }
13
+ export type AdminSafe = Omit<Admin, "passwordHash">;
14
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/admin/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IAGX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IAGrB,WAAW,EAAE,MAAM,EAAE,CAAC;IAKtB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAK7B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;CAC9B;AAGD,MAAM,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { ADMIN_ROLES, ADMIN_ROLE_ARRAY, type AdminRole } from "./props";
2
+ export type { Admin, AdminSafe } from "./base";
3
+ export type { AdminTranslation } from "./translation";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AACxE,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC/C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,7 @@
1
+ export declare const ADMIN_ROLES: {
2
+ readonly SUPER_ADMIN: "SUPER_ADMIN";
3
+ readonly ADMIN: "ADMIN";
4
+ };
5
+ export type AdminRole = (typeof ADMIN_ROLES)[keyof typeof ADMIN_ROLES];
6
+ export declare const ADMIN_ROLE_ARRAY: readonly ["SUPER_ADMIN", "ADMIN"];
7
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/resources/admin/props.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;CAGd,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEvE,eAAO,MAAM,gBAAgB,mCAGnB,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { Translation } from "../../shared";
2
+ export interface AdminTranslation<Locale extends string = string> extends Translation<Locale> {
3
+ id: string;
4
+ locale: Locale;
5
+ adminId: string;
6
+ name: string | null;
7
+ authorName: string | null;
8
+ description: string | null;
9
+ jobTitle: string | null;
10
+ url: string | null;
11
+ worksFor: string | null;
12
+ knowsAbout: string[];
13
+ homeLocation: string | null;
14
+ nationality: string | null;
15
+ createdAt: Date;
16
+ updatedAt: Date;
17
+ }
18
+ //# sourceMappingURL=translation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../../src/resources/admin/translation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,gBAAgB,CAC/B,MAAM,SAAS,MAAM,GAAG,MAAM,CAC9B,SAAQ,WAAW,CAAC,MAAM,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC;IAKf,OAAO,EAAE,MAAM,CAAC;IAGhB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,12 @@
1
+ import type { DeviceInfo } from "../device-info";
2
+ export interface AdminRefreshToken {
3
+ id: string;
4
+ tokenHash: string;
5
+ email: string;
6
+ ip: string;
7
+ deviceInfo: DeviceInfo | null;
8
+ adminId: string;
9
+ createdAt: Date;
10
+ expiresAt: Date;
11
+ }
12
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/admin-refresh-token/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAGjD,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IAGX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IAGd,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAK9B,OAAO,EAAE,MAAM,CAAC;IAKhB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ export type { AdminRefreshToken } from "./base";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/admin-refresh-token/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,48 @@
1
+ export interface Config {
2
+ id: string;
3
+ slug: string;
4
+ index: number;
5
+ createdAt: Date;
6
+ updatedAt: Date;
7
+ text1: string | null;
8
+ text2: string | null;
9
+ text3: string | null;
10
+ text4: string | null;
11
+ text5: string | null;
12
+ text6: string | null;
13
+ text7: string | null;
14
+ text8: string | null;
15
+ text9: string | null;
16
+ text10: string | null;
17
+ data1: any[];
18
+ data2: any[];
19
+ data3: any[];
20
+ data4: any[];
21
+ data5: any[];
22
+ data6: any[];
23
+ data7: any[];
24
+ data8: any[];
25
+ data9: any[];
26
+ data10: any[];
27
+ dec1: number | null;
28
+ dec2: number | null;
29
+ dec3: number | null;
30
+ dec4: number | null;
31
+ dec5: number | null;
32
+ dec6: number | null;
33
+ dec7: number | null;
34
+ dec8: number | null;
35
+ dec9: number | null;
36
+ dec10: number | null;
37
+ int1: number | null;
38
+ int2: number | null;
39
+ int3: number | null;
40
+ int4: number | null;
41
+ int5: number | null;
42
+ int6: number | null;
43
+ int7: number | null;
44
+ int8: number | null;
45
+ int9: number | null;
46
+ int10: number | null;
47
+ }
48
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/config/base.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IAEX,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,EAAE,MAAM,CAAC;IAKd,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAMhB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;I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AC;IACpB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACtB"}
@@ -0,0 +1,3 @@
1
+ export type { Config } from "./base";
2
+ export type { ConfigTranslation } from "./translation";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/config/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,YAAY,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type { Translation } from "../../shared";
2
+ export interface ConfigTranslation<Locale extends string = string> extends Translation<Locale> {
3
+ id: string;
4
+ locale: Locale;
5
+ createdAt: Date;
6
+ updatedAt: Date;
7
+ i18nText1: string | null;
8
+ i18nText2: string | null;
9
+ i18nText3: string | null;
10
+ i18nText4: string | null;
11
+ i18nText5: string | null;
12
+ i18nText6: string | null;
13
+ i18nText7: string | null;
14
+ i18nText8: string | null;
15
+ i18nText9: string | null;
16
+ i18nText10: string | null;
17
+ i18nData1: any[];
18
+ i18nData2: any[];
19
+ i18nData3: any[];
20
+ i18nData4: any[];
21
+ i18nData5: any[];
22
+ i18nData6: any[];
23
+ i18nData7: any[];
24
+ i18nData8: any[];
25
+ i18nData9: any[];
26
+ i18nData10: any[];
27
+ }
28
+ //# sourceMappingURL=translation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../../src/resources/config/translation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,iBAAiB,CAChC,MAAM,SAAS,MAAM,GAAG,MAAM,CAC9B,SAAQ,WAAW,CAAC,MAAM,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC;IAKf,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAMhB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAG1B,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,SAAS,EAAE,GAAG,EAAE,CAAC;IACjB,UAAU,EAAE,GAAG,EAAE,CAAC;CACnB"}
@@ -0,0 +1,15 @@
1
+ export interface DeviceInfo {
2
+ deviceType: "mobile" | "tablet" | "console" | "smarttv" | "wearable" | "xr" | "embedded";
3
+ platform: string;
4
+ timezone?: string;
5
+ language?: string;
6
+ screenResolution?: {
7
+ width: number;
8
+ height: number;
9
+ };
10
+ browser?: string;
11
+ browserVersion?: string;
12
+ userAgent?: string;
13
+ [key: string]: unknown;
14
+ }
15
+ //# sourceMappingURL=device-info.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-info.d.ts","sourceRoot":"","sources":["../../../../src/resources/device-info.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,UAAU,EACN,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,SAAS,GACT,UAAU,GACV,IAAI,GACJ,UAAU,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACrD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB"}
@@ -0,0 +1,20 @@
1
+ import type { FileType } from "./props";
2
+ export interface File {
3
+ id: string;
4
+ key: string;
5
+ checksum: string;
6
+ width: number | null;
7
+ height: number | null;
8
+ duration: number | null;
9
+ originalName: string;
10
+ size: number;
11
+ extension: string;
12
+ mimeType: string;
13
+ type: FileType;
14
+ isLocked: boolean;
15
+ folderId: string | null;
16
+ createdAt: Date;
17
+ updatedAt: Date;
18
+ deletedAt: Date | null;
19
+ }
20
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/file/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGxC,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IAGX,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,QAAQ,CAAC;IAGf,QAAQ,EAAE,OAAO,CAAC;IAKlB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB"}
@@ -0,0 +1,4 @@
1
+ export { FILE_TYPES, type FileType } from "./props";
2
+ export type { File } from "./base";
3
+ export type { FileTranslation } from "./translation";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/file/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AACpD,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const FILE_TYPES: {
2
+ readonly IMAGE: "IMAGE";
3
+ readonly AUDIO: "AUDIO";
4
+ readonly VIDEO: "VIDEO";
5
+ readonly DOCUMENT: "DOCUMENT";
6
+ readonly ARCHIVE: "ARCHIVE";
7
+ readonly OTHER: "OTHER";
8
+ };
9
+ export type FileType = (typeof FILE_TYPES)[keyof typeof FILE_TYPES];
10
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/resources/file/props.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;CAOb,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { Translation } from "../../shared";
2
+ export interface FileTranslation<Locale extends string = string> extends Translation<Locale> {
3
+ id: string;
4
+ locale: Locale;
5
+ name: string | null;
6
+ alt: string | null;
7
+ fileId: string;
8
+ createdAt: Date;
9
+ updatedAt: Date;
10
+ }
11
+ //# sourceMappingURL=translation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../../src/resources/file/translation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,eAAe,CAC9B,MAAM,SAAS,MAAM,GAAG,MAAM,CAC9B,SAAQ,WAAW,CAAC,MAAM,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAKnB,MAAM,EAAE,MAAM,CAAC;IAKf,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,10 @@
1
+ export interface Folder {
2
+ id: string;
3
+ name: string;
4
+ key: string;
5
+ isLocked: boolean;
6
+ parentFolderId: string | null;
7
+ createdAt: Date;
8
+ updatedAt: Date;
9
+ }
10
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/folder/base.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,MAAM;IACrB,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IAGZ,QAAQ,EAAE,OAAO,CAAC;IAKlB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAK9B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ export type { Folder } from "./base";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/folder/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,15 @@
1
+ export { type Admin, type AdminSafe, type AdminTranslation, ADMIN_ROLES, ADMIN_ROLE_ARRAY, type AdminRole, } from "./admin";
2
+ export type { AdminRefreshToken } from "./admin-refresh-token";
3
+ export { type File, type FileTranslation, FILE_TYPES, type FileType, } from "./file";
4
+ export type { Folder } from "./folder";
5
+ export { type Post, type PostTranslation, POST_TYPES, type PostType, type ExternalLink, type Faq, type TocItem, } from "./post";
6
+ export type { SeoMetadata, Alternate, } from "./seo-metadata";
7
+ export type { Config, ConfigTranslation } from "./config";
8
+ export type { Inquiry } from "./inquiry";
9
+ export { type User, type UserSafe, USER_STATUS, type UserStatus, } from "./user";
10
+ export type { UserRefreshToken } from "./user-refresh-token";
11
+ export { type Recipient, SHIPPING_METHOD, type ShippingMethod, CVS_BRAND, type CvsBrand, isCvsBrand, } from "./recipient";
12
+ export { type Order, type OrderItem, ORDER_STATUS, type OrderStatus, ORDER_PAYMENT_METHODS, type OrderPaymentMethod, ORDER_PAYMENT_STATUS, type OrderPaymentStatus, ORDER_SHIPPING_STATUS, type OrderShippingStatus, } from "./order";
13
+ export { type Promotion, type PromotionProduct, type PromotionTranslation, PROMOTION_SCOPE_TYPE, type PromotionScopeType, PROMOTION_CONDITION_TYPE, type PromotionConditionType, PROMOTION_BENEFIT_TYPE, type PromotionBenefitType, } from "./promotion";
14
+ export type { DeviceInfo } from "./device-info";
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/index.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,gBAAgB,EAErB,WAAW,EACX,gBAAgB,EAChB,KAAK,SAAS,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aAAa,CAAC;AAGrB,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,16 @@
1
+ export interface Inquiry {
2
+ id: string;
3
+ text1: string | null;
4
+ text2: string | null;
5
+ text3: string | null;
6
+ text4: string | null;
7
+ text5: string | null;
8
+ text6: string | null;
9
+ text7: string | null;
10
+ text8: string | null;
11
+ text9: string | null;
12
+ text10: string | null;
13
+ createdAt: Date;
14
+ updatedAt: Date;
15
+ }
16
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/inquiry/base.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IAEX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAKtB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ export type { Inquiry } from "./base";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/inquiry/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,88 @@
1
+ import type { ShippingMethod } from "../recipient";
2
+ import type { OrderPaymentMethod, OrderPaymentStatus, OrderShippingStatus, OrderStatus } from "./props";
3
+ export interface Order {
4
+ id: string;
5
+ orderNumber: string | null;
6
+ note: string | null;
7
+ adminNote: string | null;
8
+ status: OrderStatus;
9
+ isTest: boolean;
10
+ customerEmail: string | null;
11
+ customerName: string | null;
12
+ currency: string | null;
13
+ subtotalAmount: number;
14
+ discountAmount: number;
15
+ shippingFeeAmount: number;
16
+ totalAmount: number;
17
+ paymentStatus: OrderPaymentStatus;
18
+ paymentMethod: OrderPaymentMethod | null;
19
+ paymentMerchantReference: string | null;
20
+ paymentReference: string | null;
21
+ paymentProviderStatusCode: string | null;
22
+ paymentProviderStatusMessage: string | null;
23
+ shippingStatus: OrderShippingStatus;
24
+ shippingMethod: ShippingMethod | null;
25
+ shippingSubType: string | null;
26
+ shippingMerchantReference: string | null;
27
+ shippingReference: string | null;
28
+ shippingProviderStatusCode: string | null;
29
+ shippingProviderStatusMessage: string | null;
30
+ shippingTrackingNumber: string | null;
31
+ shippingAccessCode: string | null;
32
+ shippingAccessCodeExtra: string | null;
33
+ recipientName: string | null;
34
+ recipientPhone: string | null;
35
+ countryCode: string | null;
36
+ administrativeArea: string | null;
37
+ subAdministrativeArea: string | null;
38
+ locality: string | null;
39
+ postalCode: string | null;
40
+ addressLine1: string | null;
41
+ addressLine2: string | null;
42
+ addressLine3: string | null;
43
+ cvsBrand: string | null;
44
+ cvsStoreCode: string | null;
45
+ cvsStoreName: string | null;
46
+ cvsStoreAddress: string | null;
47
+ metadata: unknown;
48
+ userId: string | null;
49
+ paidAt: Date | null;
50
+ createdAt: Date;
51
+ updatedAt: Date;
52
+ state1: boolean;
53
+ state2: boolean;
54
+ state3: boolean;
55
+ state4: boolean;
56
+ state5: boolean;
57
+ state6: boolean;
58
+ state7: boolean;
59
+ state8: boolean;
60
+ state9: boolean;
61
+ state10: boolean;
62
+ text1: string | null;
63
+ text2: string | null;
64
+ text3: string | null;
65
+ text4: string | null;
66
+ text5: string | null;
67
+ text6: string | null;
68
+ text7: string | null;
69
+ text8: string | null;
70
+ text9: string | null;
71
+ text10: string | null;
72
+ data1: any[];
73
+ data2: any[];
74
+ data3: any[];
75
+ data4: any[];
76
+ }
77
+ export interface OrderItem {
78
+ id: string;
79
+ quantity: number;
80
+ productName: string | null;
81
+ unitPriceAmount: number;
82
+ subtotalAmount: number;
83
+ orderId: string;
84
+ productId: string;
85
+ createdAt: Date;
86
+ updatedAt: Date;
87
+ }
88
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/order/base.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,KAAK;IACpB,EAAE,EAAE,MAAM,CAAC;IAGX,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;IAKhB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAK5B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IAKpB,aAAa,EAAE,kBAAkB,CAAC;IAClC,aAAa,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAEzC,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IA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AChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ export { ORDER_STATUS, type OrderStatus, ORDER_PAYMENT_METHODS, type OrderPaymentMethod, ORDER_PAYMENT_STATUS, type OrderPaymentStatus, ORDER_SHIPPING_STATUS, type OrderShippingStatus, } from "./props";
2
+ export type { Order, OrderItem } from "./base";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/order/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,qBAAqB,EACrB,KAAK,kBAAkB,EACvB,oBAAoB,EACpB,KAAK,kBAAkB,EACvB,qBAAqB,EACrB,KAAK,mBAAmB,GACzB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,28 @@
1
+ export declare const ORDER_STATUS: {
2
+ readonly OPEN: "OPEN";
3
+ readonly COMPLETED: "COMPLETED";
4
+ readonly CANCELLED: "CANCELLED";
5
+ };
6
+ export type OrderStatus = (typeof ORDER_STATUS)[keyof typeof ORDER_STATUS];
7
+ export declare const ORDER_PAYMENT_STATUS: {
8
+ readonly PENDING: "PENDING";
9
+ readonly PROCESSING: "PROCESSING";
10
+ readonly PAID: "PAID";
11
+ readonly CANCELLED: "CANCELLED";
12
+ };
13
+ export type OrderPaymentStatus = (typeof ORDER_PAYMENT_STATUS)[keyof typeof ORDER_PAYMENT_STATUS];
14
+ export declare const ORDER_PAYMENT_METHODS: {
15
+ readonly CREDIT_CARD: "CREDIT_CARD";
16
+ readonly BANK_TRANSFER: "BANK_TRANSFER";
17
+ readonly CASH_ON_DELIVERY: "CASH_ON_DELIVERY";
18
+ };
19
+ export type OrderPaymentMethod = (typeof ORDER_PAYMENT_METHODS)[keyof typeof ORDER_PAYMENT_METHODS];
20
+ export declare const ORDER_SHIPPING_STATUS: {
21
+ readonly NOT_READY: "NOT_READY";
22
+ readonly PROCESSING: "PROCESSING";
23
+ readonly SHIPPED: "SHIPPED";
24
+ readonly DELIVERED: "DELIVERED";
25
+ readonly CANCELLED: "CANCELLED";
26
+ };
27
+ export type OrderShippingStatus = (typeof ORDER_SHIPPING_STATUS)[keyof typeof ORDER_SHIPPING_STATUS];
28
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/resources/order/props.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;CAIf,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE3E,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAEnE,eAAO,MAAM,qBAAqB;;;;CAIxB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAErE,eAAO,MAAM,qBAAqB;;;;;;CAMxB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC"}
@@ -0,0 +1,56 @@
1
+ import type { PostType } from "./props";
2
+ export interface Post {
3
+ id: string;
4
+ type: PostType;
5
+ isLocked: boolean;
6
+ isActive: boolean;
7
+ isIndexActive: boolean;
8
+ index: number | null;
9
+ isSlugActive: boolean;
10
+ slug: string;
11
+ isFeatured: boolean;
12
+ isShownOnHome: boolean;
13
+ authorId: string | null;
14
+ topicId: string | null;
15
+ coverImageId: string | null;
16
+ createdAt: Date;
17
+ updatedAt: Date;
18
+ deletedAt: Date | null;
19
+ state1: boolean;
20
+ state2: boolean;
21
+ state3: boolean;
22
+ state4: boolean;
23
+ state5: boolean;
24
+ state6: boolean;
25
+ state7: boolean;
26
+ state8: boolean;
27
+ state9: boolean;
28
+ state10: boolean;
29
+ file1Id: string | null;
30
+ file2Id: string | null;
31
+ file3Id: string | null;
32
+ file4Id: string | null;
33
+ text1: string | null;
34
+ text2: string | null;
35
+ text3: string | null;
36
+ text4: string | null;
37
+ text5: string | null;
38
+ text6: string | null;
39
+ text7: string | null;
40
+ text8: string | null;
41
+ text9: string | null;
42
+ text10: string | null;
43
+ data1: any[];
44
+ data2: any[];
45
+ data3: any[];
46
+ data4: any[];
47
+ dec1: number | null;
48
+ dec2: number | null;
49
+ dec3: number | null;
50
+ dec4: number | null;
51
+ int1: number | null;
52
+ int2: number | null;
53
+ int3: number | null;
54
+ int4: number | null;
55
+ }
56
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/post/base.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAGxC,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,QAAQ,CAAC;IAKf,QAAQ,EAAE,OAAO,CAAC;IAElB,QAAQ,EAAE,OAAO,CAAC;IAElB,aAAa,EAAE,OAAO,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,YAAY,EAAE,OAAO,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;IAKvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAKvB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAK5B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IA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MAAM,GAAG,IAAI,CAAC;IAGpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB"}
@@ -0,0 +1,4 @@
1
+ export { POST_TYPES, type PostType, type ExternalLink, type Faq, type TocItem, } from "./props";
2
+ export type { Post } from "./base";
3
+ export type { PostTranslation } from "./translation";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/post/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,GAAG,EACR,KAAK,OAAO,GACb,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACnC,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,23 @@
1
+ export declare const POST_TYPES: {
2
+ readonly TOPIC: "TOPIC";
3
+ readonly CATEGORY: "CATEGORY";
4
+ readonly POST: "POST";
5
+ readonly TAG: "TAG";
6
+ readonly PAGE: "PAGE";
7
+ };
8
+ export type PostType = (typeof POST_TYPES)[keyof typeof POST_TYPES];
9
+ export interface ExternalLink {
10
+ name: string;
11
+ href: string;
12
+ }
13
+ export interface Faq {
14
+ question: string;
15
+ answer: string;
16
+ }
17
+ export interface TocItem {
18
+ text: string;
19
+ id: string;
20
+ level: 2 | 3 | 4 | 5 | 6;
21
+ children: TocItem[];
22
+ }
23
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/resources/post/props.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;CAMb,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAKpE,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,GAAG;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACzB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACrB"}
@@ -0,0 +1,34 @@
1
+ import type { ExternalLink, Faq, TocItem } from "./props";
2
+ import type { Translation } from "../../shared";
3
+ export interface PostTranslation<Locale extends string = string> extends Translation<Locale> {
4
+ id: string;
5
+ locale: Locale;
6
+ title: string | null;
7
+ subtitle: string | null;
8
+ summary: string | null;
9
+ description: string | null;
10
+ content: string | null;
11
+ externalLinks: ExternalLink[];
12
+ faq: Faq[];
13
+ toc: TocItem[];
14
+ readTime: number | null;
15
+ wordCount: number;
16
+ postId: string;
17
+ createdAt: Date;
18
+ updatedAt: Date;
19
+ text1: string | null;
20
+ text2: string | null;
21
+ text3: string | null;
22
+ text4: string | null;
23
+ text5: string | null;
24
+ text6: string | null;
25
+ text7: string | null;
26
+ text8: string | null;
27
+ text9: string | null;
28
+ text10: string | null;
29
+ data1: any[];
30
+ data2: any[];
31
+ data3: any[];
32
+ data4: any[];
33
+ }
34
+ //# sourceMappingURL=translation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../../src/resources/post/translation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAC1D,OAAO,KAAK,EAAE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,EAAE,CAAC;CACd"}
@@ -0,0 +1,25 @@
1
+ import type { PromotionBenefitType, PromotionConditionType, PromotionScopeType } from "./props";
2
+ export interface Promotion {
3
+ id: string;
4
+ slug: string;
5
+ isActive: boolean;
6
+ scopeType: PromotionScopeType;
7
+ conditionType: PromotionConditionType;
8
+ thresholdAmount: number | null;
9
+ benefitType: PromotionBenefitType;
10
+ discountAmount: number | null;
11
+ discountRate: number | null;
12
+ priority: number;
13
+ isStackable: boolean;
14
+ startsAt: Date | null;
15
+ endsAt: Date | null;
16
+ createdAt: Date;
17
+ updatedAt: Date;
18
+ }
19
+ export interface PromotionProduct {
20
+ id: string;
21
+ promotionId: string;
22
+ productId: string;
23
+ createdAt: Date;
24
+ }
25
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/promotion/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAEjB,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,QAAQ,EAAE,OAAO,CAAC;IAGlB,SAAS,EAAE,kBAAkB,CAAC;IAG9B,aAAa,EAAE,sBAAsB,CAAC;IACtC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAG/B,WAAW,EAAE,oBAAoB,CAAC;IAClC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAG5B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;IAGrB,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IAGpB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IAGX,WAAW,EAAE,MAAM,CAAC;IAGpB,SAAS,EAAE,MAAM,CAAC;IAGlB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,4 @@
1
+ export { PROMOTION_SCOPE_TYPE, type PromotionScopeType, PROMOTION_CONDITION_TYPE, type PromotionConditionType, PROMOTION_BENEFIT_TYPE, type PromotionBenefitType, } from "./props";
2
+ export type { Promotion, PromotionProduct } from "./base";
3
+ export type { PromotionTranslation } from "./translation";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/promotion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,kBAAkB,EACvB,wBAAwB,EACxB,KAAK,sBAAsB,EAC3B,sBAAsB,EACtB,KAAK,oBAAoB,GAC1B,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAC1D,YAAY,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare const PROMOTION_SCOPE_TYPE: {
2
+ readonly GLOBAL: "GLOBAL";
3
+ readonly PRODUCTS: "PRODUCTS";
4
+ };
5
+ export type PromotionScopeType = (typeof PROMOTION_SCOPE_TYPE)[keyof typeof PROMOTION_SCOPE_TYPE];
6
+ export declare const PROMOTION_CONDITION_TYPE: {
7
+ readonly ORDER_SUBTOTAL_AT_LEAST: "ORDER_SUBTOTAL_AT_LEAST";
8
+ };
9
+ export type PromotionConditionType = (typeof PROMOTION_CONDITION_TYPE)[keyof typeof PROMOTION_CONDITION_TYPE];
10
+ export declare const PROMOTION_BENEFIT_TYPE: {
11
+ readonly FIXED_ORDER_DISCOUNT: "FIXED_ORDER_DISCOUNT";
12
+ };
13
+ export type PromotionBenefitType = (typeof PROMOTION_BENEFIT_TYPE)[keyof typeof PROMOTION_BENEFIT_TYPE];
14
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/resources/promotion/props.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;CAGvB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC;AAEnE,eAAO,MAAM,wBAAwB;;CAE3B,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,wBAAwB,CAAC,CAAC,MAAM,OAAO,wBAAwB,CAAC,CAAC;AAE3E,eAAO,MAAM,sBAAsB;;CAEzB,CAAC;AAEX,MAAM,MAAM,oBAAoB,GAC9B,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,OAAO,sBAAsB,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { Translation } from "../../shared";
2
+ export interface PromotionTranslation<Locale extends string = string> extends Translation<Locale> {
3
+ id: string;
4
+ locale: Locale;
5
+ name: string | null;
6
+ description: string | null;
7
+ promotionId: string;
8
+ createdAt: Date;
9
+ updatedAt: Date;
10
+ }
11
+ //# sourceMappingURL=translation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../../src/resources/promotion/translation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,MAAM,WAAW,oBAAoB,CACnC,MAAM,SAAS,MAAM,GAAG,MAAM,CAC9B,SAAQ,WAAW,CAAC,MAAM,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAK3B,WAAW,EAAE,MAAM,CAAC;IAKpB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,25 @@
1
+ import type { CvsBrand, ShippingMethod } from "./props";
2
+ export interface Recipient {
3
+ id: string;
4
+ label: string | null;
5
+ shippingMethod: ShippingMethod;
6
+ isDefault: boolean;
7
+ recipientName: string | null;
8
+ recipientPhone: string | null;
9
+ countryCode: string | null;
10
+ administrativeArea: string | null;
11
+ subAdministrativeArea: string | null;
12
+ locality: string | null;
13
+ postalCode: string | null;
14
+ addressLine1: string | null;
15
+ addressLine2: string | null;
16
+ addressLine3: string | null;
17
+ cvsBrand: CvsBrand | null;
18
+ cvsStoreCode: string | null;
19
+ cvsStoreName: string | null;
20
+ cvsStoreAddress: string | null;
21
+ userId: string;
22
+ createdAt: Date;
23
+ updatedAt: Date;
24
+ }
25
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/recipient/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAExD,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,MAAM,CAAC;IAGX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,cAAc,EAAE,cAAc,CAAC;IAG/B,SAAS,EAAE,OAAO,CAAC;IAKnB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAK9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAK5B,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAK/B,MAAM,EAAE,MAAM,CAAC;IAKf,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ export { SHIPPING_METHOD, type ShippingMethod, CVS_BRAND, type CvsBrand, isCvsBrand, } from "./props";
2
+ export type { Recipient } from "./base";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/recipient/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,KAAK,cAAc,EACnB,SAAS,EACT,KAAK,QAAQ,EACb,UAAU,GACX,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,14 @@
1
+ export declare const SHIPPING_METHOD: {
2
+ readonly CVS_PICKUP: "CVS_PICKUP";
3
+ readonly HOME_DELIVERY: "HOME_DELIVERY";
4
+ };
5
+ export type ShippingMethod = (typeof SHIPPING_METHOD)[keyof typeof SHIPPING_METHOD];
6
+ export declare const CVS_BRAND: {
7
+ readonly UNIMART: "UNIMART";
8
+ readonly FAMI: "FAMI";
9
+ readonly HILIFE: "HILIFE";
10
+ readonly OKMART: "OKMART";
11
+ };
12
+ export type CvsBrand = (typeof CVS_BRAND)[keyof typeof CVS_BRAND];
13
+ export declare const isCvsBrand: (brand: string) => brand is CvsBrand;
14
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/resources/recipient/props.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;CAGlB,CAAC;AAEX,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,eAAO,MAAM,SAAS;;;;;CAKZ,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAElE,eAAO,MAAM,UAAU,GAAI,OAAO,MAAM,KAAG,KAAK,IAAI,QACO,CAAC"}
@@ -0,0 +1,36 @@
1
+ import type { Alternate } from "./props";
2
+ export interface SeoMetadata {
3
+ id: string;
4
+ locale: string;
5
+ title: string | null;
6
+ description: string | null;
7
+ author: string | null;
8
+ canonical: string | null;
9
+ alternate: Alternate[];
10
+ robots: string | null;
11
+ ogTitle: string | null;
12
+ ogDescription: string | null;
13
+ ogUrl: string | null;
14
+ ogType: string | null;
15
+ ogSiteName: string | null;
16
+ ogImage: string | null;
17
+ ogImageAlt: string | null;
18
+ ogImageType: string | null;
19
+ ogImageWidth: number | null;
20
+ ogImageHeight: number | null;
21
+ ogLocale: string | null;
22
+ ogLocaleAlternate: string[];
23
+ ogArticlePublishedTime: Date | null;
24
+ ogArticleModifiedTime: Date | null;
25
+ ogArticleAuthor: string | null;
26
+ ogArticleSection: string | null;
27
+ ogArticleTag: string[];
28
+ twitterCard: string | null;
29
+ twitterSite: string | null;
30
+ twitterCreator: string | null;
31
+ jsonLd: object[];
32
+ postId: string;
33
+ createdAt: Date;
34
+ updatedAt: Date;
35
+ }
36
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/seo-metadata/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,MAAM,WAAW,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AAM,CAAC;IAKf,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,3 @@
1
+ export type { SeoMetadata } from "./base";
2
+ export type { Alternate } from "./props";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/seo-metadata/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1C,YAAY,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface Alternate {
2
+ hreflang: string;
3
+ href: string;
4
+ }
5
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/resources/seo-metadata/props.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,13 @@
1
+ import type { UserStatus } from "./props";
2
+ export interface User {
3
+ id: string;
4
+ email: string | null;
5
+ passwordHash: string | null;
6
+ name: string | null;
7
+ status: UserStatus;
8
+ createdAt: Date;
9
+ updatedAt: Date;
10
+ emailVerifiedAt: Date | null;
11
+ }
12
+ export type UserSafe = Omit<User, "passwordHash">;
13
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/user/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IAGX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAGpB,MAAM,EAAE,UAAU,CAAC;IAKnB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,EAAE,cAAc,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { USER_STATUS, type UserStatus } from "./props";
2
+ export type { User, UserSafe } from "./base";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/user/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACvD,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const USER_STATUS: {
2
+ readonly ACTIVE: "ACTIVE";
3
+ readonly SUSPENDED: "SUSPENDED";
4
+ };
5
+ export type UserStatus = (typeof USER_STATUS)[keyof typeof USER_STATUS];
6
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../../../../src/resources/user/props.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;CAGd,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,WAAW,CAAC,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { DeviceInfo } from "../device-info";
2
+ export interface UserRefreshToken {
3
+ id: string;
4
+ tokenHash: string;
5
+ email: string | null;
6
+ ip: string;
7
+ deviceInfo: DeviceInfo | null;
8
+ userId: string;
9
+ createdAt: Date;
10
+ expiresAt: Date;
11
+ }
12
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/resources/user-refresh-token/base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IAGX,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC;IAK9B,MAAM,EAAE,MAAM,CAAC;IAKf,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ export type { UserRefreshToken } from "./base";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/resources/user-refresh-token/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export type { MultiItems, SingleItem } from "./item";
2
+ export type { BaseTranslation, Translation } from "./translation";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/shared/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACrD,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type SingleItem = {
2
+ id: string;
3
+ } | null;
4
+ export type MultiItems = {
5
+ id: string;
6
+ }[];
7
+ //# sourceMappingURL=item.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../../../../src/shared/item.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAAC;AAC/C,MAAM,MAAM,UAAU,GAAG;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,CAAC"}
@@ -0,0 +1,7 @@
1
+ export type BaseTranslation<Locale extends string = string> = {
2
+ locale: Locale;
3
+ };
4
+ export type Translation<Locale extends string = string> = BaseTranslation<Locale> & {
5
+ [k: string]: unknown;
6
+ };
7
+ //# sourceMappingURL=translation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation.d.ts","sourceRoot":"","sources":["../../../../src/shared/translation.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IAAI;IAC5D,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,WAAW,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,IACpD,eAAe,CAAC,MAAM,CAAC,GAAG;IACxB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "sitero-domain",
3
+ "version": "0.1.0",
4
+ "author": "Yiming Liao",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/types/export/index.d.ts",
10
+ "import": "./dist/export/index.js",
11
+ "require": "./dist/export/index.js"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "dependencies": {},
18
+ "scripts": {
19
+ "type": "tsc --noEmit",
20
+ "clean": "rm -rf dist",
21
+ "build": "rollup -c rollup/config.js",
22
+ "build:types": "tsc -p tsconfig.build.json && tsc-alias tsconfig.build.json --outDir dist/types"
23
+ }
24
+ }