@timardex/cluemart-server-shared 1.1.39 → 2.0.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.
@@ -1,8 +1,8 @@
1
1
  import * as mongoose from 'mongoose';
2
2
  import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
3
3
  import { PromoCodeType, EnumAffiliateRewardType, DateTimeType, EventListItemType, DateTimeWithPriceType, EnumUserLicence as EnumUserLicence$1, UserLicenceType, EnumNotificationResourceType, EnumNotificationType, EnumResourceType } from '@timardex/cluemart-shared';
4
- import { q as SchemaAffiliateResourceType, S as SchemaOwnerType, i as SchemaRelationType, n as SchemaUserType } from '../Affiliate-BLh0EcNI.mjs';
5
- import { O as ObjectId, G as GraphQLContext, f as SchemaCreateBulkNotificationInput } from '../index-zC8a3adw.mjs';
4
+ import { d as SchemaAffiliateResourceType, S as SchemaOwnerType, g as SchemaRelationType, j as SchemaUserType } from '../Affiliate-CMJdECzs.mjs';
5
+ import { O as ObjectId, G as GraphQLContext, e as SchemaCreateBulkNotificationInput } from '../index-Bq-lT7a2.mjs';
6
6
  import dayjs, { Dayjs } from 'dayjs';
7
7
  import { DateTimeType as DateTimeType$1 } from '@timardex/cluemart-shared/types';
8
8
  import { EnumUserLicence } from '@timardex/cluemart-shared/enums';
@@ -1,8 +1,8 @@
1
1
  import * as mongoose from 'mongoose';
2
2
  import * as _timardex_cluemart_shared from '@timardex/cluemart-shared';
3
3
  import { PromoCodeType, EnumAffiliateRewardType, DateTimeType, EventListItemType, DateTimeWithPriceType, EnumUserLicence as EnumUserLicence$1, UserLicenceType, EnumNotificationResourceType, EnumNotificationType, EnumResourceType } from '@timardex/cluemart-shared';
4
- import { q as SchemaAffiliateResourceType, S as SchemaOwnerType, i as SchemaRelationType, n as SchemaUserType } from '../Affiliate-CBp0M850.js';
5
- import { O as ObjectId, G as GraphQLContext, f as SchemaCreateBulkNotificationInput } from '../index-zC8a3adw.js';
4
+ import { d as SchemaAffiliateResourceType, S as SchemaOwnerType, g as SchemaRelationType, j as SchemaUserType } from '../Affiliate-VLZdlt5K.js';
5
+ import { O as ObjectId, G as GraphQLContext, e as SchemaCreateBulkNotificationInput } from '../index-Bq-lT7a2.js';
6
6
  import dayjs, { Dayjs } from 'dayjs';
7
7
  import { DateTimeType as DateTimeType$1 } from '@timardex/cluemart-shared/types';
8
8
  import { EnumUserLicence } from '@timardex/cluemart-shared/enums';
@@ -27,8 +27,9 @@ import {
27
27
  isNonVisitorResourceType,
28
28
  licenseNiceNames,
29
29
  timeFormat
30
- } from "../chunk-6RUQHYTK.mjs";
30
+ } from "../chunk-EGUFWI7R.mjs";
31
31
  import "../chunk-6PNG5BI5.mjs";
32
+ import "../chunk-3QS3WKRC.mjs";
32
33
 
33
34
  // src/service/promoCode/constants.ts
34
35
  var ACTIVE_NOT_DELETED_FILTER = {
@@ -118,7 +119,7 @@ var SHARE_RESOURCE_LABEL = {
118
119
  school: "School"
119
120
  };
120
121
 
121
- // node_modules/@timardex/cluemart-shared/dist/chunk-STNE7PMX.mjs
122
+ // node_modules/@timardex/cluemart-shared/dist/chunk-JJQL6LZE.mjs
122
123
  var PROMO_CODE_PREFIX = "CM-";
123
124
  var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
124
125
  var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
@@ -230,7 +231,7 @@ var gameScreenIdentifierList = [
230
231
  }
231
232
  ];
232
233
 
233
- // node_modules/@timardex/cluemart-shared/dist/chunk-3ZPHXVUT.mjs
234
+ // node_modules/@timardex/cluemart-shared/dist/chunk-L3SNS6OJ.mjs
234
235
  import dayjs2 from "dayjs";
235
236
  var statusOptions = [
236
237
  ...Object.values(EnumInviteStatus2).map((status) => ({