@timardex/cluemart-shared 1.6.130 → 1.7.1

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 (129) hide show
  1. package/dist/ad-BUYzE6zx.d.ts +181 -0
  2. package/dist/ad-BhLoEul3.d.mts +181 -0
  3. package/dist/affiliate-BbtjeUP4.d.mts +73 -0
  4. package/dist/affiliate-C51nzKsw.d.ts +73 -0
  5. package/dist/apollo/index.d.mts +3 -3
  6. package/dist/apollo/index.d.ts +3 -3
  7. package/dist/auth/index.cjs +951 -2546
  8. package/dist/auth/index.cjs.map +1 -1
  9. package/dist/auth/index.d.mts +30 -28
  10. package/dist/auth/index.d.ts +30 -28
  11. package/dist/auth/index.mjs +25 -24
  12. package/dist/auth/index.mjs.map +1 -1
  13. package/dist/chunk-32MKHJTX.mjs +1207 -0
  14. package/dist/chunk-32MKHJTX.mjs.map +1 -0
  15. package/dist/chunk-AYO3E4DM.mjs +224 -0
  16. package/dist/chunk-AYO3E4DM.mjs.map +1 -0
  17. package/dist/chunk-BIJ5NDXW.mjs +962 -0
  18. package/dist/chunk-BIJ5NDXW.mjs.map +1 -0
  19. package/dist/chunk-DQ7ZHIXW.mjs +26 -0
  20. package/dist/chunk-DQ7ZHIXW.mjs.map +1 -0
  21. package/dist/chunk-ILILH7E2.mjs +219 -0
  22. package/dist/chunk-ILILH7E2.mjs.map +1 -0
  23. package/dist/{chunk-OHHJ3KJJ.mjs → chunk-LBEJECG3.mjs} +64 -71
  24. package/dist/chunk-LBEJECG3.mjs.map +1 -0
  25. package/dist/chunk-NPFJ2CN2.mjs +109 -0
  26. package/dist/chunk-NPFJ2CN2.mjs.map +1 -0
  27. package/dist/chunk-R6PCFOYO.mjs +3650 -0
  28. package/dist/chunk-R6PCFOYO.mjs.map +1 -0
  29. package/dist/{chunk-NWWKI4PJ.mjs → chunk-SD42WIMV.mjs} +5 -5
  30. package/dist/chunk-SD42WIMV.mjs.map +1 -0
  31. package/dist/chunk-VA5YN2K3.mjs +48 -0
  32. package/dist/chunk-VA5YN2K3.mjs.map +1 -0
  33. package/dist/{chunk-DATBGC2K.mjs → chunk-VPANTTZI.mjs} +23 -108
  34. package/dist/chunk-VPANTTZI.mjs.map +1 -0
  35. package/dist/chunk-X3OLM35T.mjs +278 -0
  36. package/dist/chunk-X3OLM35T.mjs.map +1 -0
  37. package/dist/contactUs--NoohZBu.d.ts +11 -0
  38. package/dist/contactUs-CBWzefUS.d.mts +11 -0
  39. package/dist/enums/index.cjs +229 -2
  40. package/dist/enums/index.cjs.map +1 -1
  41. package/dist/enums/index.d.mts +170 -5
  42. package/dist/enums/index.d.ts +170 -5
  43. package/dist/enums/index.mjs +41 -1
  44. package/dist/formFields/index.cjs +112 -284
  45. package/dist/formFields/index.cjs.map +1 -1
  46. package/dist/formFields/index.d.mts +2 -4
  47. package/dist/formFields/index.d.ts +2 -4
  48. package/dist/formFields/index.mjs +50 -919
  49. package/dist/formFields/index.mjs.map +1 -1
  50. package/dist/global-CUYYxpy2.d.ts +699 -0
  51. package/dist/global-DePDtOFt.d.mts +699 -0
  52. package/dist/graphql/index.cjs +2304 -2872
  53. package/dist/graphql/index.cjs.map +1 -1
  54. package/dist/graphql/index.d.mts +469 -422
  55. package/dist/graphql/index.d.ts +469 -422
  56. package/dist/graphql/index.mjs +160 -2547
  57. package/dist/graphql/index.mjs.map +1 -1
  58. package/dist/hooks/index.cjs +3869 -534
  59. package/dist/hooks/index.cjs.map +1 -1
  60. package/dist/hooks/index.d.mts +9 -10
  61. package/dist/hooks/index.d.ts +9 -10
  62. package/dist/hooks/index.mjs +72 -54
  63. package/dist/hooks/index.mjs.map +1 -1
  64. package/dist/images/index.mjs +21 -86
  65. package/dist/images/index.mjs.map +1 -1
  66. package/dist/index.cjs +4477 -5723
  67. package/dist/index.cjs.map +1 -1
  68. package/dist/index.d.mts +1679 -2539
  69. package/dist/index.d.ts +1679 -2539
  70. package/dist/index.mjs +4453 -5682
  71. package/dist/index.mjs.map +1 -1
  72. package/dist/map/index.d.mts +2 -3
  73. package/dist/map/index.d.ts +2 -3
  74. package/dist/resourceActivities-CMUcn2P7.d.ts +130 -0
  75. package/dist/resourceActivities-CwbJFGIp.d.mts +130 -0
  76. package/dist/sharing/index.cjs +19 -23
  77. package/dist/sharing/index.cjs.map +1 -1
  78. package/dist/sharing/index.d.mts +3 -16
  79. package/dist/sharing/index.d.ts +3 -16
  80. package/dist/sharing/index.mjs +29 -183
  81. package/dist/sharing/index.mjs.map +1 -1
  82. package/dist/subscription-BU8GvH2K.d.ts +12 -0
  83. package/dist/subscription-bmAdrnfi.d.mts +12 -0
  84. package/dist/theme/index.mjs +5 -41
  85. package/dist/theme/index.mjs.map +1 -1
  86. package/dist/types/index.cjs +123 -868
  87. package/dist/types/index.cjs.map +1 -1
  88. package/dist/types/index.d.mts +15 -234
  89. package/dist/types/index.d.ts +15 -234
  90. package/dist/types/index.mjs +31 -61
  91. package/dist/user-D47MLFyH.d.ts +134 -0
  92. package/dist/user-DE8edl3u.d.mts +134 -0
  93. package/dist/utils/index.cjs +117 -292
  94. package/dist/utils/index.cjs.map +1 -1
  95. package/dist/utils/index.d.mts +23 -25
  96. package/dist/utils/index.d.ts +23 -25
  97. package/dist/utils/index.mjs +5 -6
  98. package/package.json +3 -10
  99. package/dist/affiliate-Bqqlffw8.d.mts +0 -36
  100. package/dist/affiliate-Btlp5XUp.d.ts +0 -36
  101. package/dist/affiliateAdapters-BW3BY7c5.d.mts +0 -118
  102. package/dist/affiliateAdapters-C51ISmuA.d.ts +0 -118
  103. package/dist/auth-BOmAO53v.d.ts +0 -169
  104. package/dist/auth-CsITA95p.d.mts +0 -169
  105. package/dist/chunk-DATBGC2K.mjs.map +0 -1
  106. package/dist/chunk-DDHECBJR.mjs +0 -726
  107. package/dist/chunk-DDHECBJR.mjs.map +0 -1
  108. package/dist/chunk-INQCDU24.mjs +0 -139
  109. package/dist/chunk-INQCDU24.mjs.map +0 -1
  110. package/dist/chunk-NWWKI4PJ.mjs.map +0 -1
  111. package/dist/chunk-OHHJ3KJJ.mjs.map +0 -1
  112. package/dist/chunk-TOEFAEF2.mjs +0 -69
  113. package/dist/chunk-TOEFAEF2.mjs.map +0 -1
  114. package/dist/chunk-UKW7NZEQ.mjs +0 -2813
  115. package/dist/chunk-UKW7NZEQ.mjs.map +0 -1
  116. package/dist/dailyClue-C6WXY73z.d.mts +0 -105
  117. package/dist/dailyClue-C6WXY73z.d.ts +0 -105
  118. package/dist/event-C9K7CSg4.d.ts +0 -53
  119. package/dist/event-W0NhL5Cd.d.mts +0 -53
  120. package/dist/global-BbSFfYdd.d.ts +0 -181
  121. package/dist/global-C6v9tRji.d.mts +0 -181
  122. package/dist/graphql-CDOfA79A.d.ts +0 -1253
  123. package/dist/graphql-CcvzTs9k.d.mts +0 -1253
  124. package/dist/resourceActivities-CS8YRIIL.d.mts +0 -89
  125. package/dist/resourceActivities-DOdNPkhW.d.ts +0 -89
  126. package/dist/subscription-Cj_qBA7u.d.mts +0 -20
  127. package/dist/subscription-OiJ50uJb.d.ts +0 -20
  128. package/dist/vendor-DmMi2qmx.d.mts +0 -73
  129. package/dist/vendor-M9hVZlni.d.ts +0 -73
@@ -0,0 +1,181 @@
1
+ import { EnumPartnerType, EnumResourceType, EnumOSPlatform } from './enums/index.js';
2
+ import { D as BaseResourceType, L as LocationType, ax as SocialShareResourceType, B as BaseResourceTypeFormData, H as CreateFormData, at as ResourceContactDetailsType, av as ResourceImageType, aw as SocialMediaType, aA as TermsAgreement, a7 as OwnerType, ak as PromoCodeType, M as MutationResponse } from './global-CUYYxpy2.js';
3
+ import { PosterAssetId } from './images/index.js';
4
+ import { S as SafeUserType } from './user-D47MLFyH.js';
5
+
6
+ interface PartnerFormData extends BaseResourceTypeFormData {
7
+ location: LocationType;
8
+ nzbn: string;
9
+ partnerType: EnumPartnerType;
10
+ }
11
+ type CreatePartnerFormData = CreateFormData<PartnerFormData>;
12
+ interface PartnerType extends BaseResourceType {
13
+ location: LocationType;
14
+ nzbn: string;
15
+ partnerType: EnumPartnerType;
16
+ sharePublic?: SocialShareResourceType | null;
17
+ }
18
+
19
+ interface AppSettingsFormData {
20
+ appVersion: string;
21
+ isOfflineMode: boolean;
22
+ minimumRedeemableAffiliatePoints: number;
23
+ }
24
+ type CreateAppSettingsFormData = CreateFormData<AppSettingsFormData>;
25
+ type AppSettingsType = AppSettingsFormData & {
26
+ _id: string;
27
+ activeSchoolsStudentCountTotal: number;
28
+ activeSchoolsStudentCountUpdatedAt: Date;
29
+ createdAt: Date;
30
+ key: string;
31
+ updatedAt: Date | null;
32
+ };
33
+
34
+ interface PosterInputType {
35
+ description: string;
36
+ posterName: PosterAssetId;
37
+ resourceId: string;
38
+ resourceType: EnumResourceType;
39
+ }
40
+
41
+ interface SchoolFormData {
42
+ _id?: string;
43
+ active: boolean;
44
+ contactDetails: ResourceContactDetailsType | null;
45
+ location: LocationType;
46
+ logo?: ResourceImageType | null;
47
+ logoUpload?: ResourceImageType | null;
48
+ name: string;
49
+ region: string;
50
+ studentCount: number;
51
+ socialMedia: SocialMediaType[] | null;
52
+ termsAgreement?: TermsAgreement | null;
53
+ }
54
+ type CreateSchoolFormData = CreateFormData<SchoolFormData>;
55
+ type SchoolCampaignType = {
56
+ endDate: Date;
57
+ name: string;
58
+ startDate: Date;
59
+ };
60
+ type SchoolType = Omit<SchoolFormData, "logoUpload"> & {
61
+ _id: string;
62
+ approvedAt?: Date | null;
63
+ campaigns: SchoolCampaignType[];
64
+ createdAt: Date;
65
+ deletedAt: Date | null;
66
+ overallPoints: number | null;
67
+ owner: OwnerType;
68
+ ranking: number | null;
69
+ schoolCode: PromoCodeType;
70
+ updatedAt: Date | null;
71
+ };
72
+ type SchoolRegisteredUserType = Pick<SafeUserType, "_id" | "firstName" | "lastName" | "avatar" | "email" | "active">;
73
+ type SchoolReturnType = {
74
+ school: SchoolType;
75
+ users: SchoolRegisteredUserType[];
76
+ };
77
+ type MarketingMaterialRequestInputType = Pick<PosterInputType, "resourceId" | "posterName">;
78
+
79
+ declare enum EnumVerificationType {
80
+ REGISTER = "register",
81
+ RESET_PASSWORD = "resetPassword"
82
+ }
83
+ type LoginFormData = {
84
+ email: string;
85
+ isAdminPage?: boolean;
86
+ password: string;
87
+ platform?: EnumOSPlatform;
88
+ };
89
+ type CreateLoginFormData = CreateFormData<LoginFormData>;
90
+ type RegisterFormData = {
91
+ email: string;
92
+ firstName: string;
93
+ lastName: string;
94
+ password: string;
95
+ platform?: EnumOSPlatform;
96
+ preferredRegion: string;
97
+ promoCode?: PromoCodeType | null;
98
+ termsAgreement?: TermsAgreement | null;
99
+ };
100
+ type CreateRegisterFormData = CreateFormData<RegisterFormData>;
101
+ type RequestPasswordResetFormData = {
102
+ email: string;
103
+ };
104
+ type CreateRequestPasswordResetFormData = CreateFormData<RequestPasswordResetFormData>;
105
+ type ResetPasswordFormData = {
106
+ confirmPassword: string;
107
+ email: string;
108
+ password: string;
109
+ };
110
+ type CreateResetPasswordFormData = CreateFormData<ResetPasswordFormData>;
111
+ type ValidateVerificationTokenFormData = {
112
+ email: string;
113
+ verificationToken: string;
114
+ verificationType?: EnumVerificationType;
115
+ };
116
+ type CreateValidateVerificationTokenFormData = CreateFormData<ValidateVerificationTokenFormData>;
117
+ type AuthPayloadType = {
118
+ refreshToken: string | null;
119
+ token: string;
120
+ user: SafeUserType;
121
+ };
122
+ type AuthMutationResponse = MutationResponse<AuthPayloadType>;
123
+ type RefreshTokenPayloadType = {
124
+ refreshToken: string;
125
+ token: string;
126
+ };
127
+ type RefreshTokenMutationResponse = MutationResponse<RefreshTokenPayloadType>;
128
+
129
+ declare enum EnumAdShowOn {
130
+ EVENTS_PAGE = "Events_page",
131
+ FRONT_PAGE = "Front_page",
132
+ PARTNERS_PAGE = "Partners_page",
133
+ VENDORS_PAGE = "Vendors_page"
134
+ }
135
+ declare enum EnumAdStatus {
136
+ ACTIVE = "Active",
137
+ PAUSED = "Paused",
138
+ EXPIRED = "Expired"
139
+ }
140
+ declare enum EnumAdType {
141
+ SPONSORED = "Sponsored",
142
+ FREE = "Free"
143
+ }
144
+ declare enum EnumAdStyle {
145
+ BLOOM = "Bloom",
146
+ RISE = "Rise"
147
+ }
148
+ type AdResource = {
149
+ adDescription: string;
150
+ adImage: string;
151
+ adStyle: EnumAdStyle;
152
+ adTitle: string;
153
+ adType: EnumAdType;
154
+ resourceId: string;
155
+ resourceName: string;
156
+ resourceRegion: string;
157
+ resourceType: EnumResourceType;
158
+ resourceSlug: string;
159
+ };
160
+ interface AdFormData {
161
+ active: boolean;
162
+ end: Date;
163
+ resource: AdResource;
164
+ showOn: EnumAdShowOn[];
165
+ start?: Date;
166
+ status: EnumAdStatus;
167
+ targetRegion: string[];
168
+ }
169
+ type AdFormState = AdFormData;
170
+ type CreateAdFormData = CreateFormData<AdFormData>;
171
+ type CreateAdFormState = CreateFormData<AdFormState>;
172
+ interface AdType extends AdFormData {
173
+ _id: string;
174
+ clicks?: number;
175
+ createdAt: Date;
176
+ impressions?: number;
177
+ start: Date;
178
+ updatedAt: Date | null;
179
+ }
180
+
181
+ export { type AuthMutationResponse as A, type RequestPasswordResetFormData as B, type CreateLoginFormData as C, type ResetPasswordFormData as D, EnumAdStatus as E, type SchoolCampaignType as F, type SchoolRegisteredUserType as G, type LoginFormData as L, type MarketingMaterialRequestInputType as M, type PartnerType as P, type RefreshTokenMutationResponse as R, type SchoolType as S, type ValidateVerificationTokenFormData as V, type AdType as a, type AppSettingsType as b, type SchoolReturnType as c, type CreateRegisterFormData as d, type CreateRequestPasswordResetFormData as e, type CreateValidateVerificationTokenFormData as f, type CreateResetPasswordFormData as g, type PartnerFormData as h, type AdFormData as i, type CreateAdFormState as j, type CreatePartnerFormData as k, type AppSettingsFormData as l, type CreateAppSettingsFormData as m, type SchoolFormData as n, type CreateSchoolFormData as o, type AdFormState as p, type AdResource as q, type AuthPayloadType as r, type CreateAdFormData as s, EnumAdShowOn as t, EnumAdStyle as u, EnumAdType as v, EnumVerificationType as w, type PosterInputType as x, type RefreshTokenPayloadType as y, type RegisterFormData as z };
@@ -0,0 +1,181 @@
1
+ import { EnumPartnerType, EnumResourceType, EnumOSPlatform } from './enums/index.mjs';
2
+ import { D as BaseResourceType, L as LocationType, ax as SocialShareResourceType, B as BaseResourceTypeFormData, H as CreateFormData, at as ResourceContactDetailsType, av as ResourceImageType, aw as SocialMediaType, aA as TermsAgreement, a7 as OwnerType, ak as PromoCodeType, M as MutationResponse } from './global-DePDtOFt.mjs';
3
+ import { PosterAssetId } from './images/index.mjs';
4
+ import { S as SafeUserType } from './user-DE8edl3u.mjs';
5
+
6
+ interface PartnerFormData extends BaseResourceTypeFormData {
7
+ location: LocationType;
8
+ nzbn: string;
9
+ partnerType: EnumPartnerType;
10
+ }
11
+ type CreatePartnerFormData = CreateFormData<PartnerFormData>;
12
+ interface PartnerType extends BaseResourceType {
13
+ location: LocationType;
14
+ nzbn: string;
15
+ partnerType: EnumPartnerType;
16
+ sharePublic?: SocialShareResourceType | null;
17
+ }
18
+
19
+ interface AppSettingsFormData {
20
+ appVersion: string;
21
+ isOfflineMode: boolean;
22
+ minimumRedeemableAffiliatePoints: number;
23
+ }
24
+ type CreateAppSettingsFormData = CreateFormData<AppSettingsFormData>;
25
+ type AppSettingsType = AppSettingsFormData & {
26
+ _id: string;
27
+ activeSchoolsStudentCountTotal: number;
28
+ activeSchoolsStudentCountUpdatedAt: Date;
29
+ createdAt: Date;
30
+ key: string;
31
+ updatedAt: Date | null;
32
+ };
33
+
34
+ interface PosterInputType {
35
+ description: string;
36
+ posterName: PosterAssetId;
37
+ resourceId: string;
38
+ resourceType: EnumResourceType;
39
+ }
40
+
41
+ interface SchoolFormData {
42
+ _id?: string;
43
+ active: boolean;
44
+ contactDetails: ResourceContactDetailsType | null;
45
+ location: LocationType;
46
+ logo?: ResourceImageType | null;
47
+ logoUpload?: ResourceImageType | null;
48
+ name: string;
49
+ region: string;
50
+ studentCount: number;
51
+ socialMedia: SocialMediaType[] | null;
52
+ termsAgreement?: TermsAgreement | null;
53
+ }
54
+ type CreateSchoolFormData = CreateFormData<SchoolFormData>;
55
+ type SchoolCampaignType = {
56
+ endDate: Date;
57
+ name: string;
58
+ startDate: Date;
59
+ };
60
+ type SchoolType = Omit<SchoolFormData, "logoUpload"> & {
61
+ _id: string;
62
+ approvedAt?: Date | null;
63
+ campaigns: SchoolCampaignType[];
64
+ createdAt: Date;
65
+ deletedAt: Date | null;
66
+ overallPoints: number | null;
67
+ owner: OwnerType;
68
+ ranking: number | null;
69
+ schoolCode: PromoCodeType;
70
+ updatedAt: Date | null;
71
+ };
72
+ type SchoolRegisteredUserType = Pick<SafeUserType, "_id" | "firstName" | "lastName" | "avatar" | "email" | "active">;
73
+ type SchoolReturnType = {
74
+ school: SchoolType;
75
+ users: SchoolRegisteredUserType[];
76
+ };
77
+ type MarketingMaterialRequestInputType = Pick<PosterInputType, "resourceId" | "posterName">;
78
+
79
+ declare enum EnumVerificationType {
80
+ REGISTER = "register",
81
+ RESET_PASSWORD = "resetPassword"
82
+ }
83
+ type LoginFormData = {
84
+ email: string;
85
+ isAdminPage?: boolean;
86
+ password: string;
87
+ platform?: EnumOSPlatform;
88
+ };
89
+ type CreateLoginFormData = CreateFormData<LoginFormData>;
90
+ type RegisterFormData = {
91
+ email: string;
92
+ firstName: string;
93
+ lastName: string;
94
+ password: string;
95
+ platform?: EnumOSPlatform;
96
+ preferredRegion: string;
97
+ promoCode?: PromoCodeType | null;
98
+ termsAgreement?: TermsAgreement | null;
99
+ };
100
+ type CreateRegisterFormData = CreateFormData<RegisterFormData>;
101
+ type RequestPasswordResetFormData = {
102
+ email: string;
103
+ };
104
+ type CreateRequestPasswordResetFormData = CreateFormData<RequestPasswordResetFormData>;
105
+ type ResetPasswordFormData = {
106
+ confirmPassword: string;
107
+ email: string;
108
+ password: string;
109
+ };
110
+ type CreateResetPasswordFormData = CreateFormData<ResetPasswordFormData>;
111
+ type ValidateVerificationTokenFormData = {
112
+ email: string;
113
+ verificationToken: string;
114
+ verificationType?: EnumVerificationType;
115
+ };
116
+ type CreateValidateVerificationTokenFormData = CreateFormData<ValidateVerificationTokenFormData>;
117
+ type AuthPayloadType = {
118
+ refreshToken: string | null;
119
+ token: string;
120
+ user: SafeUserType;
121
+ };
122
+ type AuthMutationResponse = MutationResponse<AuthPayloadType>;
123
+ type RefreshTokenPayloadType = {
124
+ refreshToken: string;
125
+ token: string;
126
+ };
127
+ type RefreshTokenMutationResponse = MutationResponse<RefreshTokenPayloadType>;
128
+
129
+ declare enum EnumAdShowOn {
130
+ EVENTS_PAGE = "Events_page",
131
+ FRONT_PAGE = "Front_page",
132
+ PARTNERS_PAGE = "Partners_page",
133
+ VENDORS_PAGE = "Vendors_page"
134
+ }
135
+ declare enum EnumAdStatus {
136
+ ACTIVE = "Active",
137
+ PAUSED = "Paused",
138
+ EXPIRED = "Expired"
139
+ }
140
+ declare enum EnumAdType {
141
+ SPONSORED = "Sponsored",
142
+ FREE = "Free"
143
+ }
144
+ declare enum EnumAdStyle {
145
+ BLOOM = "Bloom",
146
+ RISE = "Rise"
147
+ }
148
+ type AdResource = {
149
+ adDescription: string;
150
+ adImage: string;
151
+ adStyle: EnumAdStyle;
152
+ adTitle: string;
153
+ adType: EnumAdType;
154
+ resourceId: string;
155
+ resourceName: string;
156
+ resourceRegion: string;
157
+ resourceType: EnumResourceType;
158
+ resourceSlug: string;
159
+ };
160
+ interface AdFormData {
161
+ active: boolean;
162
+ end: Date;
163
+ resource: AdResource;
164
+ showOn: EnumAdShowOn[];
165
+ start?: Date;
166
+ status: EnumAdStatus;
167
+ targetRegion: string[];
168
+ }
169
+ type AdFormState = AdFormData;
170
+ type CreateAdFormData = CreateFormData<AdFormData>;
171
+ type CreateAdFormState = CreateFormData<AdFormState>;
172
+ interface AdType extends AdFormData {
173
+ _id: string;
174
+ clicks?: number;
175
+ createdAt: Date;
176
+ impressions?: number;
177
+ start: Date;
178
+ updatedAt: Date | null;
179
+ }
180
+
181
+ export { type AuthMutationResponse as A, type RequestPasswordResetFormData as B, type CreateLoginFormData as C, type ResetPasswordFormData as D, EnumAdStatus as E, type SchoolCampaignType as F, type SchoolRegisteredUserType as G, type LoginFormData as L, type MarketingMaterialRequestInputType as M, type PartnerType as P, type RefreshTokenMutationResponse as R, type SchoolType as S, type ValidateVerificationTokenFormData as V, type AdType as a, type AppSettingsType as b, type SchoolReturnType as c, type CreateRegisterFormData as d, type CreateRequestPasswordResetFormData as e, type CreateValidateVerificationTokenFormData as f, type CreateResetPasswordFormData as g, type PartnerFormData as h, type AdFormData as i, type CreateAdFormState as j, type CreatePartnerFormData as k, type AppSettingsFormData as l, type CreateAppSettingsFormData as m, type SchoolFormData as n, type CreateSchoolFormData as o, type AdFormState as p, type AdResource as q, type AuthPayloadType as r, type CreateAdFormData as s, EnumAdShowOn as t, EnumAdStyle as u, EnumAdType as v, EnumVerificationType as w, type PosterInputType as x, type RefreshTokenPayloadType as y, type RegisterFormData as z };
@@ -0,0 +1,73 @@
1
+ import { EnumResourceType } from './enums/index.mjs';
2
+ import { ak as PromoCodeType, L as LocationType, aw as SocialMediaType, a7 as OwnerType, H as CreateFormData } from './global-DePDtOFt.mjs';
3
+ import { U as UserFormData } from './user-DE8edl3u.mjs';
4
+
5
+ declare enum EnumAffiliateParticipantType {
6
+ INDIVIDUAL = "INDIVIDUAL",
7
+ SOLE_TRADER = "SOLE_TRADER",
8
+ COMPANY = "COMPANY"
9
+ }
10
+ type AffiliateContactDetails = {
11
+ mobilePhone: string;
12
+ };
13
+ type AffiliateBankAccountDetailsType = {
14
+ accountHolderName: string;
15
+ accountNumber: string;
16
+ };
17
+ type AffiliateUserDefaultFields = Pick<UserFormData, "email" | "firstName" | "lastName" | "termsAgreement">;
18
+ type AffiliateDetailsType = AffiliateUserDefaultFields & {
19
+ bankAccountDetails: AffiliateBankAccountDetailsType;
20
+ contactDetails: AffiliateContactDetails;
21
+ irdNumber: string;
22
+ location: LocationType;
23
+ participantType: EnumAffiliateParticipantType;
24
+ socialMedia: SocialMediaType[] | null;
25
+ };
26
+ declare enum EnumAffiliateRewardType {
27
+ ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS = "ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS",
28
+ ACTIVE_VENDOR_BONUS_REWARD = "ACTIVE_VENDOR_BONUS_REWARD",
29
+ ACTIVE_VENDOR_PRO_SUBSCRIPTION = "ACTIVE_VENDOR_PRO_SUBSCRIPTION",
30
+ ACTIVE_VENDOR_STANDARD_SUBSCRIPTION = "ACTIVE_VENDOR_STANDARD_SUBSCRIPTION",
31
+ NEW_EVENT_REGISTRATION = "NEW_EVENT_REGISTRATION",
32
+ NEW_VENDOR_REGISTRATION = "NEW_VENDOR_REGISTRATION"
33
+ }
34
+ type AffiliateRewardType = {
35
+ createdAt: Date;
36
+ redeemedAt: Date | null;
37
+ rewardDescription: string;
38
+ rewardType: EnumAffiliateRewardType;
39
+ rewardValue: number;
40
+ };
41
+ type AffiliateResourceType = {
42
+ resourceActive: boolean;
43
+ resourceDeletedAt: Date | null;
44
+ resourceId: string;
45
+ resourceName: string;
46
+ resourceOwner: OwnerType;
47
+ resourceType: EnumResourceType;
48
+ rewards: AffiliateRewardType[];
49
+ };
50
+ type RedeemHistoryType = {
51
+ paidAt?: Date | null;
52
+ redeemedAt: Date;
53
+ rewardValue: number;
54
+ };
55
+ interface AffiliateType {
56
+ _id: string;
57
+ active: boolean;
58
+ approvedAt?: Date | null;
59
+ affiliateBonusRewards?: AffiliateRewardType[] | null;
60
+ affiliateCode: PromoCodeType | null;
61
+ affiliateDetails: AffiliateDetailsType | null;
62
+ affiliateResources: AffiliateResourceType[];
63
+ createdAt: Date;
64
+ deletedAt: Date | null;
65
+ overallPoints: number;
66
+ owner: OwnerType;
67
+ redeemHistory?: RedeemHistoryType[] | null;
68
+ updatedAt: Date | null;
69
+ }
70
+ type AffiliateFormData = Omit<AffiliateDetailsType, "email" | "firstName" | "lastName">;
71
+ type CreateAffiliateFormData = CreateFormData<AffiliateFormData>;
72
+
73
+ export { type AffiliateType as A, type CreateAffiliateFormData as C, EnumAffiliateParticipantType as E, type RedeemHistoryType as R, type AffiliateFormData as a, type AffiliateBankAccountDetailsType as b, type AffiliateContactDetails as c, type AffiliateDetailsType as d, type AffiliateResourceType as e, type AffiliateRewardType as f, type AffiliateUserDefaultFields as g, EnumAffiliateRewardType as h };
@@ -0,0 +1,73 @@
1
+ import { EnumResourceType } from './enums/index.js';
2
+ import { ak as PromoCodeType, L as LocationType, aw as SocialMediaType, a7 as OwnerType, H as CreateFormData } from './global-CUYYxpy2.js';
3
+ import { U as UserFormData } from './user-D47MLFyH.js';
4
+
5
+ declare enum EnumAffiliateParticipantType {
6
+ INDIVIDUAL = "INDIVIDUAL",
7
+ SOLE_TRADER = "SOLE_TRADER",
8
+ COMPANY = "COMPANY"
9
+ }
10
+ type AffiliateContactDetails = {
11
+ mobilePhone: string;
12
+ };
13
+ type AffiliateBankAccountDetailsType = {
14
+ accountHolderName: string;
15
+ accountNumber: string;
16
+ };
17
+ type AffiliateUserDefaultFields = Pick<UserFormData, "email" | "firstName" | "lastName" | "termsAgreement">;
18
+ type AffiliateDetailsType = AffiliateUserDefaultFields & {
19
+ bankAccountDetails: AffiliateBankAccountDetailsType;
20
+ contactDetails: AffiliateContactDetails;
21
+ irdNumber: string;
22
+ location: LocationType;
23
+ participantType: EnumAffiliateParticipantType;
24
+ socialMedia: SocialMediaType[] | null;
25
+ };
26
+ declare enum EnumAffiliateRewardType {
27
+ ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS = "ACTIVE_EVENT_WITH_VENDOR_REGISTRATIONS",
28
+ ACTIVE_VENDOR_BONUS_REWARD = "ACTIVE_VENDOR_BONUS_REWARD",
29
+ ACTIVE_VENDOR_PRO_SUBSCRIPTION = "ACTIVE_VENDOR_PRO_SUBSCRIPTION",
30
+ ACTIVE_VENDOR_STANDARD_SUBSCRIPTION = "ACTIVE_VENDOR_STANDARD_SUBSCRIPTION",
31
+ NEW_EVENT_REGISTRATION = "NEW_EVENT_REGISTRATION",
32
+ NEW_VENDOR_REGISTRATION = "NEW_VENDOR_REGISTRATION"
33
+ }
34
+ type AffiliateRewardType = {
35
+ createdAt: Date;
36
+ redeemedAt: Date | null;
37
+ rewardDescription: string;
38
+ rewardType: EnumAffiliateRewardType;
39
+ rewardValue: number;
40
+ };
41
+ type AffiliateResourceType = {
42
+ resourceActive: boolean;
43
+ resourceDeletedAt: Date | null;
44
+ resourceId: string;
45
+ resourceName: string;
46
+ resourceOwner: OwnerType;
47
+ resourceType: EnumResourceType;
48
+ rewards: AffiliateRewardType[];
49
+ };
50
+ type RedeemHistoryType = {
51
+ paidAt?: Date | null;
52
+ redeemedAt: Date;
53
+ rewardValue: number;
54
+ };
55
+ interface AffiliateType {
56
+ _id: string;
57
+ active: boolean;
58
+ approvedAt?: Date | null;
59
+ affiliateBonusRewards?: AffiliateRewardType[] | null;
60
+ affiliateCode: PromoCodeType | null;
61
+ affiliateDetails: AffiliateDetailsType | null;
62
+ affiliateResources: AffiliateResourceType[];
63
+ createdAt: Date;
64
+ deletedAt: Date | null;
65
+ overallPoints: number;
66
+ owner: OwnerType;
67
+ redeemHistory?: RedeemHistoryType[] | null;
68
+ updatedAt: Date | null;
69
+ }
70
+ type AffiliateFormData = Omit<AffiliateDetailsType, "email" | "firstName" | "lastName">;
71
+ type CreateAffiliateFormData = CreateFormData<AffiliateFormData>;
72
+
73
+ export { type AffiliateType as A, type CreateAffiliateFormData as C, EnumAffiliateParticipantType as E, type RedeemHistoryType as R, type AffiliateFormData as a, type AffiliateBankAccountDetailsType as b, type AffiliateContactDetails as c, type AffiliateDetailsType as d, type AffiliateResourceType as e, type AffiliateRewardType as f, type AffiliateUserDefaultFields as g, EnumAffiliateRewardType as h };
@@ -1,4 +1,4 @@
1
- import * as ApolloReactCommon from '@apollo/client';
1
+ import * as _apollo_client from '@apollo/client';
2
2
  import { ApolloLink } from '@apollo/client';
3
3
  import { Client } from 'graphql-ws';
4
4
 
@@ -129,7 +129,7 @@ declare function createAuthLink(adapters: CreateAuthLinkAdapters): ApolloLink;
129
129
  /**
130
130
  * Error link with mobile auth recovery: refresh once, retry op, or deferred logout.
131
131
  */
132
- declare function createErrorLink(adapters: CreateErrorLinkAdapters): ApolloReactCommon.ApolloLink;
132
+ declare function createErrorLink(adapters: CreateErrorLinkAdapters): _apollo_client.ApolloLink;
133
133
 
134
134
  /**
135
135
  * Creates a coalesced refreshAccessToken() using mobile multi-attempt behavior.
@@ -151,7 +151,7 @@ type CreateApolloErrorLoggingLinkAdapters = {
151
151
  * Logging-only Apollo `onError` link with secret redaction.
152
152
  * Does not retry or forward — place before auth recovery links.
153
153
  */
154
- declare function createApolloErrorLoggingLink(adapters: CreateApolloErrorLoggingLinkAdapters): ApolloReactCommon.ApolloLink;
154
+ declare function createApolloErrorLoggingLink(adapters: CreateApolloErrorLoggingLinkAdapters): _apollo_client.ApolloLink;
155
155
 
156
156
  type CreateNetworkRecoveryLinkAdapters = {
157
157
  forceRefreshIsOnline: () => Promise<boolean> | boolean;
@@ -1,4 +1,4 @@
1
- import * as ApolloReactCommon from '@apollo/client';
1
+ import * as _apollo_client from '@apollo/client';
2
2
  import { ApolloLink } from '@apollo/client';
3
3
  import { Client } from 'graphql-ws';
4
4
 
@@ -129,7 +129,7 @@ declare function createAuthLink(adapters: CreateAuthLinkAdapters): ApolloLink;
129
129
  /**
130
130
  * Error link with mobile auth recovery: refresh once, retry op, or deferred logout.
131
131
  */
132
- declare function createErrorLink(adapters: CreateErrorLinkAdapters): ApolloReactCommon.ApolloLink;
132
+ declare function createErrorLink(adapters: CreateErrorLinkAdapters): _apollo_client.ApolloLink;
133
133
 
134
134
  /**
135
135
  * Creates a coalesced refreshAccessToken() using mobile multi-attempt behavior.
@@ -151,7 +151,7 @@ type CreateApolloErrorLoggingLinkAdapters = {
151
151
  * Logging-only Apollo `onError` link with secret redaction.
152
152
  * Does not retry or forward — place before auth recovery links.
153
153
  */
154
- declare function createApolloErrorLoggingLink(adapters: CreateApolloErrorLoggingLinkAdapters): ApolloReactCommon.ApolloLink;
154
+ declare function createApolloErrorLoggingLink(adapters: CreateApolloErrorLoggingLinkAdapters): _apollo_client.ApolloLink;
155
155
 
156
156
  type CreateNetworkRecoveryLinkAdapters = {
157
157
  forceRefreshIsOnline: () => Promise<boolean> | boolean;