@timardex/cluemart-shared 2.0.7 → 2.0.9

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 (48) hide show
  1. package/dist/{ad-Cq1luH63.d.mts → ad-BFOGqBel.d.mts} +77 -2
  2. package/dist/{ad-C7_aLSAO.d.ts → ad-DEIR7iSl.d.ts} +77 -2
  3. package/dist/{affiliate-DKe3AD5n.d.mts → affiliate-BQ62c6SE.d.mts} +1 -1
  4. package/dist/{affiliate-zbXziTPJ.d.ts → affiliate-D7kf9GSr.d.ts} +1 -1
  5. package/dist/auth/index.cjs +3 -0
  6. package/dist/auth/index.cjs.map +1 -1
  7. package/dist/auth/index.d.mts +2 -2
  8. package/dist/auth/index.d.ts +2 -2
  9. package/dist/auth/index.mjs +1 -1
  10. package/dist/{chunk-LMFBXRR7.mjs → chunk-ACCOACCV.mjs} +2 -2
  11. package/dist/{chunk-OUWKLNHZ.mjs → chunk-JOA6W4SP.mjs} +4 -1
  12. package/dist/chunk-JOA6W4SP.mjs.map +1 -0
  13. package/dist/{chunk-UUIAJ2D6.mjs → chunk-L45XTF3X.mjs} +41 -1
  14. package/dist/chunk-L45XTF3X.mjs.map +1 -0
  15. package/dist/{chunk-5KOHAP3V.mjs → chunk-ZEFKXKEO.mjs} +290 -91
  16. package/dist/chunk-ZEFKXKEO.mjs.map +1 -0
  17. package/dist/formFields/index.mjs +2 -2
  18. package/dist/graphql/index.cjs +380 -164
  19. package/dist/graphql/index.cjs.map +1 -1
  20. package/dist/graphql/index.d.mts +28 -4
  21. package/dist/graphql/index.d.ts +28 -4
  22. package/dist/graphql/index.mjs +30 -2
  23. package/dist/hooks/index.cjs +291 -110
  24. package/dist/hooks/index.cjs.map +1 -1
  25. package/dist/hooks/index.d.mts +3 -3
  26. package/dist/hooks/index.d.ts +3 -3
  27. package/dist/hooks/index.mjs +4 -4
  28. package/dist/index.cjs +425 -164
  29. package/dist/index.cjs.map +1 -1
  30. package/dist/index.d.mts +106 -1
  31. package/dist/index.d.ts +106 -1
  32. package/dist/index.mjs +331 -89
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/types/index.cjs +45 -0
  35. package/dist/types/index.cjs.map +1 -1
  36. package/dist/types/index.d.mts +3 -3
  37. package/dist/types/index.d.ts +3 -3
  38. package/dist/types/index.mjs +11 -1
  39. package/dist/{user-NPmlt_Zx.d.mts → user-CqrqqKv2.d.mts} +6 -0
  40. package/dist/{user-B6YLX1c5.d.ts → user-zrMQ2GDX.d.ts} +6 -0
  41. package/dist/utils/index.d.mts +2 -2
  42. package/dist/utils/index.d.ts +2 -2
  43. package/dist/utils/index.mjs +2 -2
  44. package/package.json +1 -1
  45. package/dist/chunk-5KOHAP3V.mjs.map +0 -1
  46. package/dist/chunk-OUWKLNHZ.mjs.map +0 -1
  47. package/dist/chunk-UUIAJ2D6.mjs.map +0 -1
  48. /package/dist/{chunk-LMFBXRR7.mjs.map → chunk-ACCOACCV.mjs.map} +0 -0
package/dist/index.cjs CHANGED
@@ -33,15 +33,19 @@ __export(index_exports, {
33
33
  ACTIVATE_VENDOR_CLAIM_MUTATION: () => ACTIVATE_VENDOR_CLAIM_MUTATION,
34
34
  ADMIN_APP_ROLES: () => ADMIN_APP_ROLES,
35
35
  ADMIN_DASHBOARD_CONTEXTS: () => ADMIN_DASHBOARD_CONTEXTS,
36
+ AD_BOOKING_FIELDS_FRAGMENT: () => AD_BOOKING_FIELDS_FRAGMENT,
36
37
  AFFILIATE_PARTICIPANT_TYPE_LABELS: () => AFFILIATE_PARTICIPANT_TYPE_LABELS,
37
38
  AFFILIATE_REWARDS: () => AFFILIATE_REWARDS,
38
39
  ANDROID_URL: () => ANDROID_URL,
40
+ APPROVE_AD_BOOKING_MUTATION: () => APPROVE_AD_BOOKING_MUTATION,
39
41
  BILLING_CATALOG_CURRENCY: () => BILLING_CATALOG_CURRENCY,
40
42
  BILLING_CATALOG_DEFINITIONS: () => BILLING_CATALOG_DEFINITIONS,
41
43
  BILLING_CATALOG_KEYS: () => BILLING_CATALOG_KEYS,
44
+ CLAIM_RESERVED_AD_DAY_MUTATION: () => CLAIM_RESERVED_AD_DAY_MUTATION,
42
45
  CLUEMART_MAIN_DOMAIN_URL: () => CLUEMART_MAIN_DOMAIN_URL,
43
46
  CM_AFFILIATE_PROMO_CODE: () => CM_AFFILIATE_PROMO_CODE,
44
47
  CM_SCHOOL_PROMO_CODE: () => CM_SCHOOL_PROMO_CODE,
48
+ CREATE_AD_CHECKOUT_MUTATION: () => CREATE_AD_CHECKOUT_MUTATION,
45
49
  DEFAULT_PAGE_SIZE: () => DEFAULT_PAGE_SIZE,
46
50
  DEFAULT_RESOURCES_RETURN_LIMIT: () => DEFAULT_RESOURCES_RETURN_LIMIT,
47
51
  DEFAULT_RESOURCES_RETURN_OFFSET: () => DEFAULT_RESOURCES_RETURN_OFFSET,
@@ -49,6 +53,11 @@ __export(index_exports, {
49
53
  DEFAULT_USER_FACING_ERROR: () => DEFAULT_USER_FACING_ERROR,
50
54
  EVENT_DATE_STATUS_PERIOD_MAP: () => EVENT_DATE_STATUS_PERIOD_MAP,
51
55
  EnumActivity: () => EnumActivity,
56
+ EnumAdApprovalStatus: () => EnumAdApprovalStatus,
57
+ EnumAdBookingSlotKind: () => EnumAdBookingSlotKind,
58
+ EnumAdBookingState: () => EnumAdBookingState,
59
+ EnumAdEntitlementSource: () => EnumAdEntitlementSource,
60
+ EnumAdPaymentStatus: () => EnumAdPaymentStatus,
52
61
  EnumAdShowOn: () => EnumAdShowOn,
53
62
  EnumAdStatus: () => EnumAdStatus,
54
63
  EnumAdStyle: () => EnumAdStyle,
@@ -84,14 +93,20 @@ __export(index_exports, {
84
93
  EnumUserRole: () => EnumUserRole,
85
94
  EnumVendorType: () => EnumVendorType,
86
95
  EnumVerificationType: () => EnumVerificationType,
96
+ GET_AD_BOOKING: () => GET_AD_BOOKING,
97
+ GET_AD_DAILY_PRICES: () => GET_AD_DAILY_PRICES,
98
+ GET_AD_DAY_AVAILABILITY: () => GET_AD_DAY_AVAILABILITY,
99
+ GET_AD_SETTINGS: () => GET_AD_SETTINGS,
87
100
  GET_EVENT: () => GET_EVENT,
88
101
  GET_EVENTS: () => GET_EVENTS,
89
102
  GET_EVENT_BY_SLUG: () => GET_EVENT_BY_SLUG,
90
103
  GET_EVENT_INFO: () => GET_EVENT_INFO,
104
+ GET_MY_AD_BOOKINGS: () => GET_MY_AD_BOOKINGS,
91
105
  GET_OWNED_EVENT: () => GET_OWNED_EVENT,
92
106
  GET_PARTNER: () => GET_PARTNER,
93
107
  GET_PARTNERS: () => GET_PARTNERS,
94
108
  GET_PARTNER_BY_SLUG: () => GET_PARTNER_BY_SLUG,
109
+ GET_PENDING_AD_BOOKINGS: () => GET_PENDING_AD_BOOKINGS,
95
110
  GET_POST: () => GET_POST,
96
111
  GET_POSTS: () => GET_POSTS,
97
112
  GET_POSTS_BY_TYPE: () => GET_POSTS_BY_TYPE,
@@ -115,6 +130,7 @@ __export(index_exports, {
115
130
  PROMO_CODE_PREFIX: () => PROMO_CODE_PREFIX,
116
131
  PUBLIC_SHARE_PATH_TYPES: () => PUBLIC_SHARE_PATH_TYPES,
117
132
  PostTypeLabels: () => PostTypeLabels,
133
+ RECORD_AD_IMPRESSION_MUTATION: () => RECORD_AD_IMPRESSION_MUTATION,
118
134
  RELATION_OVERLAY_LAYOUT_VERSION: () => RELATION_OVERLAY_LAYOUT_VERSION,
119
135
  RELATION_SHARE_APPLICATION: () => RELATION_SHARE_APPLICATION,
120
136
  RELATION_SHARE_INVITATION: () => RELATION_SHARE_INVITATION,
@@ -154,6 +170,8 @@ __export(index_exports, {
154
170
  TIERS_BY_PRIORITY: () => TIERS_BY_PRIORITY,
155
171
  TIER_DISPLAY_LABELS: () => TIER_DISPLAY_LABELS,
156
172
  TIER_FROM_LICENCE: () => TIER_FROM_LICENCE,
173
+ UPDATE_AD_DAILY_PRICE_MUTATION: () => UPDATE_AD_DAILY_PRICE_MUTATION,
174
+ UPDATE_AD_SETTINGS_MUTATION: () => UPDATE_AD_SETTINGS_MUTATION,
157
175
  USER_STORAGE_KEY: () => USER_STORAGE_KEY,
158
176
  WILDCARD_PERMISSION: () => WILDCARD_PERMISSION,
159
177
  accumulateItems: () => accumulateItems,
@@ -345,6 +363,7 @@ __export(index_exports, {
345
363
  useAdminPermanentlyDeleteResource: () => useAdminPermanentlyDeleteResource,
346
364
  useAdminResendUserVerificationEmail: () => useAdminResendUserVerificationEmail,
347
365
  useAdminUpdateResourceType: () => useAdminUpdateResourceType,
366
+ useAdminUpdateUserVendorLicense: () => useAdminUpdateUserVendorLicense,
348
367
  useAssignAffiliateBonusReward: () => useAssignAffiliateBonusReward,
349
368
  useAssignAffiliateResourceReward: () => useAssignAffiliateResourceReward,
350
369
  useCancelSubscription: () => useCancelSubscription,
@@ -1446,6 +1465,7 @@ var PROMO_CODE_PREFIX = "CM-";
1446
1465
  var EnumAdShowOn = /* @__PURE__ */ ((EnumAdShowOn2) => {
1447
1466
  EnumAdShowOn2["EVENTS_PAGE"] = "Events_page";
1448
1467
  EnumAdShowOn2["FRONT_PAGE"] = "Front_page";
1468
+ EnumAdShowOn2["MARKET_SEARCH"] = "Market_search";
1449
1469
  EnumAdShowOn2["PARTNERS_PAGE"] = "Partners_page";
1450
1470
  EnumAdShowOn2["VENDORS_PAGE"] = "Vendors_page";
1451
1471
  return EnumAdShowOn2;
@@ -1466,6 +1486,40 @@ var EnumAdStyle = /* @__PURE__ */ ((EnumAdStyle2) => {
1466
1486
  EnumAdStyle2["RISE"] = "Rise";
1467
1487
  return EnumAdStyle2;
1468
1488
  })(EnumAdStyle || {});
1489
+ var EnumAdBookingSlotKind = /* @__PURE__ */ ((EnumAdBookingSlotKind2) => {
1490
+ EnumAdBookingSlotKind2["PAID"] = "paid";
1491
+ EnumAdBookingSlotKind2["RESERVED"] = "reserved";
1492
+ return EnumAdBookingSlotKind2;
1493
+ })(EnumAdBookingSlotKind || {});
1494
+ var EnumAdBookingState = /* @__PURE__ */ ((EnumAdBookingState2) => {
1495
+ EnumAdBookingState2["HELD"] = "held";
1496
+ EnumAdBookingState2["PENDING_APPROVAL"] = "pending_approval";
1497
+ EnumAdBookingState2["APPROVED"] = "approved";
1498
+ EnumAdBookingState2["FAILED"] = "failed";
1499
+ EnumAdBookingState2["CANCELLED"] = "cancelled";
1500
+ EnumAdBookingState2["REJECTED"] = "rejected";
1501
+ return EnumAdBookingState2;
1502
+ })(EnumAdBookingState || {});
1503
+ var EnumAdPaymentStatus = /* @__PURE__ */ ((EnumAdPaymentStatus2) => {
1504
+ EnumAdPaymentStatus2["PENDING"] = "pending";
1505
+ EnumAdPaymentStatus2["PAID"] = "paid";
1506
+ EnumAdPaymentStatus2["FAILED"] = "failed";
1507
+ EnumAdPaymentStatus2["CANCELLED"] = "cancelled";
1508
+ return EnumAdPaymentStatus2;
1509
+ })(EnumAdPaymentStatus || {});
1510
+ var EnumAdEntitlementSource = /* @__PURE__ */ ((EnumAdEntitlementSource2) => {
1511
+ EnumAdEntitlementSource2["PRO_PLUS"] = "pro_plus";
1512
+ EnumAdEntitlementSource2["ADMIN"] = "admin";
1513
+ EnumAdEntitlementSource2["ORGANIZER"] = "organizer";
1514
+ EnumAdEntitlementSource2["PARTNER"] = "partner";
1515
+ return EnumAdEntitlementSource2;
1516
+ })(EnumAdEntitlementSource || {});
1517
+ var EnumAdApprovalStatus = /* @__PURE__ */ ((EnumAdApprovalStatus2) => {
1518
+ EnumAdApprovalStatus2["PENDING"] = "pending";
1519
+ EnumAdApprovalStatus2["APPROVED"] = "approved";
1520
+ EnumAdApprovalStatus2["REJECTED"] = "rejected";
1521
+ return EnumAdApprovalStatus2;
1522
+ })(EnumAdApprovalStatus || {});
1469
1523
 
1470
1524
  // src/types/resourceActivities.ts
1471
1525
  var EnumActivity = /* @__PURE__ */ ((EnumActivity2) => {
@@ -4086,6 +4140,8 @@ var STRIPE_FIELDS_FRAGMENT = import_client.gql`
4086
4140
  currentPlan
4087
4141
  startDate
4088
4142
  endDate
4143
+ paymentFailedAt
4144
+ paymentGracePeriodEndsAt
4089
4145
  pendingPlan
4090
4146
  pendingBillingPeriod
4091
4147
  pendingChangeEffectiveAt
@@ -5247,6 +5303,7 @@ var GET_USER_RESOURCES = import_client9.gql`
5247
5303
  _id
5248
5304
  logo
5249
5305
  name
5306
+ region
5250
5307
  resourceType
5251
5308
  }
5252
5309
  }
@@ -5412,6 +5469,19 @@ var ADMIN_PERMANENTLY_DELETE_RESOURCE_MUTATION = import_client12.gql`
5412
5469
  }
5413
5470
  }
5414
5471
  `;
5472
+ var ADMIN_UPDATE_USER_VENDOR_LICENSE_MUTATION = import_client12.gql`
5473
+ mutation adminUpdateUserVendorLicense(
5474
+ $input: AdminUpdateUserVendorLicenseInputType!
5475
+ ) {
5476
+ adminUpdateUserVendorLicense(input: $input) {
5477
+ data {
5478
+ ...UserFields
5479
+ }
5480
+ message
5481
+ }
5482
+ }
5483
+ ${USER_FIELDS_FRAGMENT}
5484
+ `;
5415
5485
 
5416
5486
  // src/graphql/hooks/admin/hooksMutation.ts
5417
5487
  var useAdminUpdateResourceType = () => {
@@ -5453,6 +5523,14 @@ var useAdminPermanentlyDeleteResource = () => {
5453
5523
  loading
5454
5524
  };
5455
5525
  };
5526
+ var useAdminUpdateUserVendorLicense = () => {
5527
+ const [adminUpdateUserVendorLicense, { loading, error }] = (0, import_client13.useMutation)(ADMIN_UPDATE_USER_VENDOR_LICENSE_MUTATION);
5528
+ return {
5529
+ adminUpdateUserVendorLicense,
5530
+ error,
5531
+ loading
5532
+ };
5533
+ };
5456
5534
 
5457
5535
  // src/graphql/hooks/auth.ts
5458
5536
  var import_client15 = require("@apollo/client");
@@ -7395,12 +7473,174 @@ var useGetAdsByRegion = (region, status) => {
7395
7473
  };
7396
7474
  };
7397
7475
 
7398
- // src/graphql/hooks/resourceActivities/hooksMutation.ts
7476
+ // src/graphql/queries/adBooking.ts
7477
+ var import_client48 = require("@apollo/client");
7478
+ var AD_BOOKING_FIELDS_FRAGMENT = import_client48.gql`
7479
+ fragment AdBookingFields on AdBookingGraphQLType {
7480
+ _id
7481
+ adId
7482
+ approvalStatus
7483
+ dayKey
7484
+ placement
7485
+ region
7486
+ resource {
7487
+ adDescription
7488
+ adImage
7489
+ adStyle
7490
+ adTitle
7491
+ adType
7492
+ resourceId
7493
+ resourceName
7494
+ resourceRegion
7495
+ resourceSlug
7496
+ resourceType
7497
+ }
7498
+ slotKind
7499
+ state
7500
+ stripeCheckoutSessionId
7501
+ unitAmount
7502
+ }
7503
+ `;
7504
+ var GET_AD_DAY_AVAILABILITY = import_client48.gql`
7505
+ query getAdDayAvailability(
7506
+ $region: String!
7507
+ $dayKey: String!
7508
+ $placement: AdShowOnEnum!
7509
+ ) {
7510
+ adDayAvailability(region: $region, dayKey: $dayKey, placement: $placement) {
7511
+ currency
7512
+ paidAvailable
7513
+ reservedAvailable
7514
+ unitAmount
7515
+ }
7516
+ }
7517
+ `;
7518
+ var GET_MY_AD_BOOKINGS = import_client48.gql`
7519
+ query getMyAdBookings {
7520
+ myAdBookings {
7521
+ ...AdBookingFields
7522
+ }
7523
+ }
7524
+ ${AD_BOOKING_FIELDS_FRAGMENT}
7525
+ `;
7526
+ var GET_AD_BOOKING = import_client48.gql`
7527
+ query getAdBooking($id: ID!) {
7528
+ adBooking(id: $id) {
7529
+ ...AdBookingFields
7530
+ }
7531
+ }
7532
+ ${AD_BOOKING_FIELDS_FRAGMENT}
7533
+ `;
7534
+ var GET_PENDING_AD_BOOKINGS = import_client48.gql`
7535
+ query getPendingAdBookings {
7536
+ pendingAdBookings {
7537
+ ...AdBookingFields
7538
+ }
7539
+ }
7540
+ ${AD_BOOKING_FIELDS_FRAGMENT}
7541
+ `;
7542
+ var GET_AD_DAILY_PRICES = import_client48.gql`
7543
+ query getAdDailyPrices {
7544
+ adDailyPrices {
7545
+ active
7546
+ currency
7547
+ key
7548
+ revision
7549
+ unitAmount
7550
+ }
7551
+ }
7552
+ `;
7553
+ var GET_AD_SETTINGS = import_client48.gql`
7554
+ query getAdSettings {
7555
+ adSettings {
7556
+ approvalRequired
7557
+ minAppearancesPerHour
7558
+ paidSlotsPerPlacement
7559
+ reservedSlotsPerPlacement
7560
+ rotationSeconds
7561
+ }
7562
+ }
7563
+ `;
7564
+
7565
+ // src/graphql/mutations/adBooking.ts
7399
7566
  var import_client49 = require("@apollo/client");
7567
+ var CREATE_AD_CHECKOUT_MUTATION = import_client49.gql`
7568
+ mutation createAdCheckout($input: CreateAdCheckoutInputGraphQLType!) {
7569
+ createAdCheckout(input: $input) {
7570
+ data {
7571
+ bookingId
7572
+ checkoutUrl
7573
+ sessionId
7574
+ }
7575
+ message
7576
+ }
7577
+ }
7578
+ `;
7579
+ var CLAIM_RESERVED_AD_DAY_MUTATION = import_client49.gql`
7580
+ mutation claimReservedAdDay($input: ClaimReservedAdDayInputType!) {
7581
+ claimReservedAdDay(input: $input) {
7582
+ data {
7583
+ ...AdBookingFields
7584
+ }
7585
+ message
7586
+ }
7587
+ }
7588
+ ${AD_BOOKING_FIELDS_FRAGMENT}
7589
+ `;
7590
+ var APPROVE_AD_BOOKING_MUTATION = import_client49.gql`
7591
+ mutation approveAdBooking($bookingId: ID!, $approved: Boolean!) {
7592
+ approveAdBooking(bookingId: $bookingId, approved: $approved) {
7593
+ data {
7594
+ ...AdBookingFields
7595
+ }
7596
+ message
7597
+ }
7598
+ }
7599
+ ${AD_BOOKING_FIELDS_FRAGMENT}
7600
+ `;
7601
+ var UPDATE_AD_DAILY_PRICE_MUTATION = import_client49.gql`
7602
+ mutation updateAdDailyPrice($input: UpdateAdDailyPriceInputGraphQLType!) {
7603
+ updateAdDailyPrice(input: $input) {
7604
+ data {
7605
+ active
7606
+ currency
7607
+ key
7608
+ revision
7609
+ unitAmount
7610
+ }
7611
+ message
7612
+ }
7613
+ }
7614
+ `;
7615
+ var UPDATE_AD_SETTINGS_MUTATION = import_client49.gql`
7616
+ mutation updateAdSettings($input: UpdateAdSettingsInputGraphQLType!) {
7617
+ updateAdSettings(input: $input) {
7618
+ data {
7619
+ approvalRequired
7620
+ minAppearancesPerHour
7621
+ paidSlotsPerPlacement
7622
+ reservedSlotsPerPlacement
7623
+ rotationSeconds
7624
+ }
7625
+ message
7626
+ }
7627
+ }
7628
+ `;
7629
+ var RECORD_AD_IMPRESSION_MUTATION = import_client49.gql`
7630
+ mutation recordAdImpression($input: RecordAdImpressionInputGraphQLType!) {
7631
+ recordAdImpression(input: $input) {
7632
+ data
7633
+ message
7634
+ }
7635
+ }
7636
+ `;
7637
+
7638
+ // src/graphql/hooks/resourceActivities/hooksMutation.ts
7639
+ var import_client51 = require("@apollo/client");
7400
7640
 
7401
7641
  // src/graphql/mutations/resourceActivities.ts
7402
- var import_client48 = require("@apollo/client");
7403
- var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client48.gql`
7642
+ var import_client50 = require("@apollo/client");
7643
+ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client50.gql`
7404
7644
  mutation createResourceActivity($input: ResourceActivityInputType!) {
7405
7645
  createResourceActivity(input: $input) {
7406
7646
  data
@@ -7411,16 +7651,16 @@ var CREATE_RESOURCE_ACTIVITY_MUTATION = import_client48.gql`
7411
7651
 
7412
7652
  // src/graphql/hooks/resourceActivities/hooksMutation.ts
7413
7653
  var useCreateResourceActivity = () => {
7414
- const [createResourceActivity, { loading, error }] = (0, import_client49.useMutation)(CREATE_RESOURCE_ACTIVITY_MUTATION);
7654
+ const [createResourceActivity, { loading, error }] = (0, import_client51.useMutation)(CREATE_RESOURCE_ACTIVITY_MUTATION);
7415
7655
  return { createResourceActivity, error, loading };
7416
7656
  };
7417
7657
 
7418
7658
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
7419
- var import_client51 = require("@apollo/client");
7659
+ var import_client53 = require("@apollo/client");
7420
7660
 
7421
7661
  // src/graphql/queries/resourceActivities.ts
7422
- var import_client50 = require("@apollo/client");
7423
- var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
7662
+ var import_client52 = require("@apollo/client");
7663
+ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client52.gql`
7424
7664
  fragment ResourceActivityFields on ResourceActivityType {
7425
7665
  resourceId
7426
7666
  resourceType
@@ -7439,7 +7679,7 @@ var RESOURCE_ACTIVITY_FIELDS_FRAGMENT = import_client50.gql`
7439
7679
  }
7440
7680
  ${LOCATION_GEO_FIELDS_FRAGMENT}
7441
7681
  `;
7442
- var GET_RESOURCE_ACTIVITY = import_client50.gql`
7682
+ var GET_RESOURCE_ACTIVITY = import_client52.gql`
7443
7683
  query getResourceActivity(
7444
7684
  $resourceType: ResourceTypeEnum!
7445
7685
  $resourceId: ID!
@@ -7453,7 +7693,7 @@ var GET_RESOURCE_ACTIVITY = import_client50.gql`
7453
7693
 
7454
7694
  // src/graphql/hooks/resourceActivities/hooksQuery.ts
7455
7695
  var useGetResourceActivity = (resourceId, resourceType) => {
7456
- const { data, loading, error, refetch } = (0, import_client51.useQuery)(GET_RESOURCE_ACTIVITY, {
7696
+ const { data, loading, error, refetch } = (0, import_client53.useQuery)(GET_RESOURCE_ACTIVITY, {
7457
7697
  fetchPolicy: "network-only",
7458
7698
  variables: { resourceId, resourceType }
7459
7699
  });
@@ -7466,11 +7706,11 @@ var useGetResourceActivity = (resourceId, resourceType) => {
7466
7706
  };
7467
7707
 
7468
7708
  // src/graphql/hooks/stripe/hooksMutation.ts
7469
- var import_client53 = require("@apollo/client");
7709
+ var import_client55 = require("@apollo/client");
7470
7710
 
7471
7711
  // src/graphql/mutations/stripe.ts
7472
- var import_client52 = require("@apollo/client");
7473
- var CREATE_CHECKOUT_SESSION_MUTATION = import_client52.gql`
7712
+ var import_client54 = require("@apollo/client");
7713
+ var CREATE_CHECKOUT_SESSION_MUTATION = import_client54.gql`
7474
7714
  mutation createCheckoutSession($input: CreateCheckoutSessionInputType!) {
7475
7715
  createCheckoutSession(input: $input) {
7476
7716
  data {
@@ -7481,7 +7721,7 @@ var CREATE_CHECKOUT_SESSION_MUTATION = import_client52.gql`
7481
7721
  }
7482
7722
  }
7483
7723
  `;
7484
- var CANCEL_SUBSCRIPTION_MUTATION = import_client52.gql`
7724
+ var CANCEL_SUBSCRIPTION_MUTATION = import_client54.gql`
7485
7725
  mutation cancelSubscription {
7486
7726
  cancelSubscription {
7487
7727
  data {
@@ -7501,7 +7741,7 @@ var CANCEL_SUBSCRIPTION_MUTATION = import_client52.gql`
7501
7741
  }
7502
7742
  }
7503
7743
  `;
7504
- var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client52.gql`
7744
+ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client54.gql`
7505
7745
  mutation updateSubscriptionPlan($input: UpdateSubscriptionPlanInputType!) {
7506
7746
  updateSubscriptionPlan(input: $input) {
7507
7747
  data {
@@ -7521,7 +7761,7 @@ var UPDATE_SUBSCRIPTION_PLAN_MUTATION = import_client52.gql`
7521
7761
  }
7522
7762
  }
7523
7763
  `;
7524
- var CREATE_CUSTOMER_PORTAL = import_client52.gql`
7764
+ var CREATE_CUSTOMER_PORTAL = import_client54.gql`
7525
7765
  mutation createCustomerPortal($returnUrl: String) {
7526
7766
  createCustomerPortal(returnUrl: $returnUrl) {
7527
7767
  data {
@@ -7534,34 +7774,36 @@ var CREATE_CUSTOMER_PORTAL = import_client52.gql`
7534
7774
 
7535
7775
  // src/graphql/hooks/stripe/hooksMutation.ts
7536
7776
  var useCreateCheckoutSession = () => {
7537
- const [createCheckoutSession, { loading, error }] = (0, import_client53.useMutation)(CREATE_CHECKOUT_SESSION_MUTATION);
7777
+ const [createCheckoutSession, { loading, error }] = (0, import_client55.useMutation)(CREATE_CHECKOUT_SESSION_MUTATION);
7538
7778
  return { createCheckoutSession, error, loading };
7539
7779
  };
7540
7780
  var useCancelSubscription = () => {
7541
- const [cancelSubscription, { loading, error }] = (0, import_client53.useMutation)(CANCEL_SUBSCRIPTION_MUTATION);
7781
+ const [cancelSubscription, { loading, error }] = (0, import_client55.useMutation)(CANCEL_SUBSCRIPTION_MUTATION);
7542
7782
  return { cancelSubscription, error, loading };
7543
7783
  };
7544
7784
  var useUpdateSubscriptionPlan = () => {
7545
- const [updateSubscriptionPlan, { loading, error }] = (0, import_client53.useMutation)(UPDATE_SUBSCRIPTION_PLAN_MUTATION);
7785
+ const [updateSubscriptionPlan, { loading, error }] = (0, import_client55.useMutation)(UPDATE_SUBSCRIPTION_PLAN_MUTATION);
7546
7786
  return { error, loading, updateSubscriptionPlan };
7547
7787
  };
7548
7788
  var useCreateCustomerPortal = () => {
7549
- const [createCustomerPortal, { loading, error }] = (0, import_client53.useMutation)(CREATE_CUSTOMER_PORTAL);
7789
+ const [createCustomerPortal, { loading, error }] = (0, import_client55.useMutation)(CREATE_CUSTOMER_PORTAL);
7550
7790
  return { createCustomerPortal, error, loading };
7551
7791
  };
7552
7792
 
7553
7793
  // src/graphql/hooks/stripe/hooksQuery.ts
7554
- var import_client55 = require("@apollo/client");
7794
+ var import_client57 = require("@apollo/client");
7555
7795
 
7556
7796
  // src/graphql/queries/stripe.ts
7557
- var import_client54 = require("@apollo/client");
7558
- var GET_SUBSCRIPTION_STATUS = import_client54.gql`
7797
+ var import_client56 = require("@apollo/client");
7798
+ var GET_SUBSCRIPTION_STATUS = import_client56.gql`
7559
7799
  query getSubscriptionStatus {
7560
7800
  getSubscriptionStatus {
7561
7801
  billingPeriod
7562
7802
  cancelAtPeriodEnd
7563
7803
  currentPlan
7564
7804
  endDate
7805
+ paymentFailedAt
7806
+ paymentGracePeriodEndsAt
7565
7807
  pendingBillingPeriod
7566
7808
  pendingChangeEffectiveAt
7567
7809
  pendingPlan
@@ -7572,7 +7814,7 @@ var GET_SUBSCRIPTION_STATUS = import_client54.gql`
7572
7814
  }
7573
7815
  }
7574
7816
  `;
7575
- var GET_SUBSCRIPTION_PLANS = import_client54.gql`
7817
+ var GET_SUBSCRIPTION_PLANS = import_client56.gql`
7576
7818
  query getSubscriptionPlans {
7577
7819
  getSubscriptionPlans {
7578
7820
  plans {
@@ -7602,7 +7844,7 @@ var GET_SUBSCRIPTION_PLANS = import_client54.gql`
7602
7844
 
7603
7845
  // src/graphql/hooks/stripe/hooksQuery.ts
7604
7846
  var useGetSubscriptionStatus = () => {
7605
- const { data, loading, error, refetch } = (0, import_client55.useQuery)(GET_SUBSCRIPTION_STATUS);
7847
+ const { data, loading, error, refetch } = (0, import_client57.useQuery)(GET_SUBSCRIPTION_STATUS);
7606
7848
  return {
7607
7849
  data: data?.getSubscriptionStatus,
7608
7850
  error,
@@ -7611,7 +7853,7 @@ var useGetSubscriptionStatus = () => {
7611
7853
  };
7612
7854
  };
7613
7855
  var useGetSubscriptionPlans = () => {
7614
- const { data, loading, error, refetch } = (0, import_client55.useQuery)(GET_SUBSCRIPTION_PLANS);
7856
+ const { data, loading, error, refetch } = (0, import_client57.useQuery)(GET_SUBSCRIPTION_PLANS);
7615
7857
  return {
7616
7858
  data: data?.getSubscriptionPlans,
7617
7859
  error,
@@ -7621,11 +7863,11 @@ var useGetSubscriptionPlans = () => {
7621
7863
  };
7622
7864
 
7623
7865
  // src/graphql/hooks/partner/hooksMutation.ts
7624
- var import_client57 = require("@apollo/client");
7866
+ var import_client59 = require("@apollo/client");
7625
7867
 
7626
7868
  // src/graphql/mutations/partner.ts
7627
- var import_client56 = require("@apollo/client");
7628
- var CREATE_PARTNER_MUTATION = import_client56.gql`
7869
+ var import_client58 = require("@apollo/client");
7870
+ var CREATE_PARTNER_MUTATION = import_client58.gql`
7629
7871
  mutation createPartner($input: PartnerInputType!) {
7630
7872
  createPartner(input: $input) {
7631
7873
  data {
@@ -7636,7 +7878,7 @@ var CREATE_PARTNER_MUTATION = import_client56.gql`
7636
7878
  }
7637
7879
  ${PARTNER}
7638
7880
  `;
7639
- var UPDATE_PARTNER_MUTATION = import_client56.gql`
7881
+ var UPDATE_PARTNER_MUTATION = import_client58.gql`
7640
7882
  mutation updatePartner($_id: ID!, $input: PartnerInputType!) {
7641
7883
  updatePartner(_id: $_id, input: $input) {
7642
7884
  data {
@@ -7647,7 +7889,7 @@ var UPDATE_PARTNER_MUTATION = import_client56.gql`
7647
7889
  }
7648
7890
  ${PARTNER}
7649
7891
  `;
7650
- var DELETE_PARTNER_MUTATION = import_client56.gql`
7892
+ var DELETE_PARTNER_MUTATION = import_client58.gql`
7651
7893
  mutation deletePartner($_id: ID!) {
7652
7894
  deletePartner(_id: $_id) {
7653
7895
  data
@@ -7658,14 +7900,14 @@ var DELETE_PARTNER_MUTATION = import_client56.gql`
7658
7900
 
7659
7901
  // src/graphql/hooks/partner/hooksMutation.ts
7660
7902
  var useCreatePartner = () => {
7661
- const [createPartner, { loading, error }] = (0, import_client57.useMutation)(CREATE_PARTNER_MUTATION, {
7903
+ const [createPartner, { loading, error }] = (0, import_client59.useMutation)(CREATE_PARTNER_MUTATION, {
7662
7904
  awaitRefetchQueries: true,
7663
7905
  refetchQueries: [{ query: GET_USER_PARTNERS }]
7664
7906
  });
7665
7907
  return { createPartner, error, loading };
7666
7908
  };
7667
7909
  var useUpdatePartner = () => {
7668
- const [updatePartner, { loading, error }] = (0, import_client57.useMutation)(UPDATE_PARTNER_MUTATION, {
7910
+ const [updatePartner, { loading, error }] = (0, import_client59.useMutation)(UPDATE_PARTNER_MUTATION, {
7669
7911
  awaitRefetchQueries: true,
7670
7912
  refetchQueries: (mutationResult) => {
7671
7913
  const partnerId = mutationResult?.data?.updatePartner?.data?._id;
@@ -7679,7 +7921,7 @@ var useUpdatePartner = () => {
7679
7921
  return { error, loading, updatePartner };
7680
7922
  };
7681
7923
  var useDeletePartner = () => {
7682
- const [deletePartner, { loading, error }] = (0, import_client57.useMutation)(DELETE_PARTNER_MUTATION, {
7924
+ const [deletePartner, { loading, error }] = (0, import_client59.useMutation)(DELETE_PARTNER_MUTATION, {
7683
7925
  awaitRefetchQueries: true,
7684
7926
  refetchQueries: [{ query: GET_USER_PARTNERS }]
7685
7927
  });
@@ -7687,9 +7929,9 @@ var useDeletePartner = () => {
7687
7929
  };
7688
7930
 
7689
7931
  // src/graphql/hooks/partner/hooksQuery.ts
7690
- var import_client58 = require("@apollo/client");
7932
+ var import_client60 = require("@apollo/client");
7691
7933
  var useGetPartner = (_id) => {
7692
- const { loading, error, data, refetch } = (0, import_client58.useQuery)(
7934
+ const { loading, error, data, refetch } = (0, import_client60.useQuery)(
7693
7935
  GET_PARTNER,
7694
7936
  {
7695
7937
  fetchPolicy: "network-only",
@@ -7707,7 +7949,7 @@ var useGetPartnersByRegion = (region, options) => {
7707
7949
  ...hasOptions ? { options: queryOptions } : {},
7708
7950
  region
7709
7951
  };
7710
- const { loading, error, data, refetch, fetchMore } = (0, import_client58.useQuery)(GET_PARTNERS_BY_REGION, {
7952
+ const { loading, error, data, refetch, fetchMore } = (0, import_client60.useQuery)(GET_PARTNERS_BY_REGION, {
7711
7953
  fetchPolicy: "network-only",
7712
7954
  skip,
7713
7955
  variables
@@ -7723,7 +7965,7 @@ var useGetPartnersByRegion = (region, options) => {
7723
7965
  };
7724
7966
  var useSearchPartners = (search, region) => {
7725
7967
  const normalizedSearch = search.trim();
7726
- const { loading, error, data, refetch } = (0, import_client58.useQuery)(SEARCH_PARTNERS, {
7968
+ const { loading, error, data, refetch } = (0, import_client60.useQuery)(SEARCH_PARTNERS, {
7727
7969
  fetchPolicy: "network-only",
7728
7970
  skip: normalizedSearch.length < 3,
7729
7971
  variables: { region, search: normalizedSearch }
@@ -7733,11 +7975,11 @@ var useSearchPartners = (search, region) => {
7733
7975
  };
7734
7976
 
7735
7977
  // src/graphql/hooks/post/hooksMutation.ts
7736
- var import_client60 = require("@apollo/client");
7978
+ var import_client62 = require("@apollo/client");
7737
7979
 
7738
7980
  // src/graphql/mutations/post.ts
7739
- var import_client59 = require("@apollo/client");
7740
- var CREATE_POST_MUTATION = import_client59.gql`
7981
+ var import_client61 = require("@apollo/client");
7982
+ var CREATE_POST_MUTATION = import_client61.gql`
7741
7983
  mutation createPost($input: PostInputType!) {
7742
7984
  createPost(input: $input) {
7743
7985
  data {
@@ -7748,7 +7990,7 @@ var CREATE_POST_MUTATION = import_client59.gql`
7748
7990
  }
7749
7991
  ${POST_FIELDS_FRAGMENT}
7750
7992
  `;
7751
- var UPDATE_POST_MUTATION = import_client59.gql`
7993
+ var UPDATE_POST_MUTATION = import_client61.gql`
7752
7994
  mutation updatePost($_id: ID!, $input: PostInputType!) {
7753
7995
  updatePost(_id: $_id, input: $input) {
7754
7996
  data {
@@ -7759,7 +8001,7 @@ var UPDATE_POST_MUTATION = import_client59.gql`
7759
8001
  }
7760
8002
  ${POST_FIELDS_FRAGMENT}
7761
8003
  `;
7762
- var DELETE_POST_MUTATION = import_client59.gql`
8004
+ var DELETE_POST_MUTATION = import_client61.gql`
7763
8005
  mutation deletePost($_id: ID!) {
7764
8006
  deletePost(_id: $_id) {
7765
8007
  data
@@ -7770,21 +8012,21 @@ var DELETE_POST_MUTATION = import_client59.gql`
7770
8012
 
7771
8013
  // src/graphql/hooks/post/hooksMutation.ts
7772
8014
  var useCreatePost = () => {
7773
- const [createPost, { loading, error }] = (0, import_client60.useMutation)(CREATE_POST_MUTATION, {
8015
+ const [createPost, { loading, error }] = (0, import_client62.useMutation)(CREATE_POST_MUTATION, {
7774
8016
  awaitRefetchQueries: true,
7775
8017
  refetchQueries: [{ query: GET_POSTS }]
7776
8018
  });
7777
8019
  return { createPost, error, loading };
7778
8020
  };
7779
8021
  var useUpdatePost = () => {
7780
- const [updatePost, { loading, error }] = (0, import_client60.useMutation)(UPDATE_POST_MUTATION, {
8022
+ const [updatePost, { loading, error }] = (0, import_client62.useMutation)(UPDATE_POST_MUTATION, {
7781
8023
  awaitRefetchQueries: true,
7782
8024
  refetchQueries: [{ query: GET_POSTS }]
7783
8025
  });
7784
8026
  return { error, loading, updatePost };
7785
8027
  };
7786
8028
  var useDeletePost = () => {
7787
- const [deletePost, { loading, error }] = (0, import_client60.useMutation)(DELETE_POST_MUTATION, {
8029
+ const [deletePost, { loading, error }] = (0, import_client62.useMutation)(DELETE_POST_MUTATION, {
7788
8030
  awaitRefetchQueries: true,
7789
8031
  refetchQueries: [{ query: GET_POSTS }]
7790
8032
  });
@@ -7792,9 +8034,9 @@ var useDeletePost = () => {
7792
8034
  };
7793
8035
 
7794
8036
  // src/graphql/hooks/post/hooksQuery.ts
7795
- var import_client61 = require("@apollo/client");
8037
+ var import_client63 = require("@apollo/client");
7796
8038
  var useGetPost = (_id) => {
7797
- const { data, loading, error, refetch } = (0, import_client61.useQuery)(GET_POST, {
8039
+ const { data, loading, error, refetch } = (0, import_client63.useQuery)(GET_POST, {
7798
8040
  fetchPolicy: "network-only",
7799
8041
  skip: !_id || _id === "",
7800
8042
  variables: { _id }
@@ -7803,11 +8045,11 @@ var useGetPost = (_id) => {
7803
8045
  };
7804
8046
 
7805
8047
  // src/graphql/hooks/appSettings/hooksMutation.ts
7806
- var import_client64 = require("@apollo/client");
8048
+ var import_client66 = require("@apollo/client");
7807
8049
 
7808
8050
  // src/graphql/mutations/appSettings.ts
7809
- var import_client62 = require("@apollo/client");
7810
- var UPDATE_APP_SETTINGS_MUTATION = import_client62.gql`
8051
+ var import_client64 = require("@apollo/client");
8052
+ var UPDATE_APP_SETTINGS_MUTATION = import_client64.gql`
7811
8053
  mutation updateAppSettings($input: AppSettingsInputType!) {
7812
8054
  updateAppSettings(input: $input) {
7813
8055
  data
@@ -7815,7 +8057,7 @@ var UPDATE_APP_SETTINGS_MUTATION = import_client62.gql`
7815
8057
  }
7816
8058
  }
7817
8059
  `;
7818
- var CRAWL_GOOGLE_MARKETS_MUTATION = import_client62.gql`
8060
+ var CRAWL_GOOGLE_MARKETS_MUTATION = import_client64.gql`
7819
8061
  mutation crawlGoogleMarkets {
7820
8062
  crawlGoogleMarkets {
7821
8063
  data
@@ -7823,7 +8065,7 @@ var CRAWL_GOOGLE_MARKETS_MUTATION = import_client62.gql`
7823
8065
  }
7824
8066
  }
7825
8067
  `;
7826
- var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client62.gql`
8068
+ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client64.gql`
7827
8069
  mutation updateGoogleImportedMarkets {
7828
8070
  updateGoogleImportedMarkets {
7829
8071
  data
@@ -7833,8 +8075,8 @@ var UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION = import_client62.gql`
7833
8075
  `;
7834
8076
 
7835
8077
  // src/graphql/queries/appSettings.ts
7836
- var import_client63 = require("@apollo/client");
7837
- var APP_SETTINGS_FIELDS_FRAGMENT = import_client63.gql`
8078
+ var import_client65 = require("@apollo/client");
8079
+ var APP_SETTINGS_FIELDS_FRAGMENT = import_client65.gql`
7838
8080
  fragment AppSettingsFields on AppSettingsType {
7839
8081
  _id
7840
8082
  appVersion
@@ -7845,7 +8087,7 @@ var APP_SETTINGS_FIELDS_FRAGMENT = import_client63.gql`
7845
8087
  updatedAt
7846
8088
  }
7847
8089
  `;
7848
- var GET_APP_SETTINGS = import_client63.gql`
8090
+ var GET_APP_SETTINGS = import_client65.gql`
7849
8091
  query getAppSettings {
7850
8092
  appSettings {
7851
8093
  ...AppSettingsFields
@@ -7856,25 +8098,25 @@ var GET_APP_SETTINGS = import_client63.gql`
7856
8098
 
7857
8099
  // src/graphql/hooks/appSettings/hooksMutation.ts
7858
8100
  var useUpdateAppSettings = () => {
7859
- const [updateAppSettings, { loading, error }] = (0, import_client64.useMutation)(UPDATE_APP_SETTINGS_MUTATION, {
8101
+ const [updateAppSettings, { loading, error }] = (0, import_client66.useMutation)(UPDATE_APP_SETTINGS_MUTATION, {
7860
8102
  awaitRefetchQueries: true,
7861
8103
  refetchQueries: [{ query: GET_APP_SETTINGS }]
7862
8104
  });
7863
8105
  return { error, loading, updateAppSettings };
7864
8106
  };
7865
8107
  var useCrawlGoogleMarkets = () => {
7866
- const [crawlGoogleMarkets, { loading, error }] = (0, import_client64.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
8108
+ const [crawlGoogleMarkets, { loading, error }] = (0, import_client66.useMutation)(CRAWL_GOOGLE_MARKETS_MUTATION);
7867
8109
  return { crawlGoogleMarkets, error, loading };
7868
8110
  };
7869
8111
  var useUpdateGoogleImportedMarkets = () => {
7870
- const [updateGoogleImportedMarkets, { loading, error }] = (0, import_client64.useMutation)(UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION);
8112
+ const [updateGoogleImportedMarkets, { loading, error }] = (0, import_client66.useMutation)(UPDATE_GOOGLE_IMPORTED_MARKET_MUTATION);
7871
8113
  return { error, loading, updateGoogleImportedMarkets };
7872
8114
  };
7873
8115
 
7874
8116
  // src/graphql/hooks/appSettings/hooksQuery.ts
7875
- var import_client65 = require("@apollo/client");
8117
+ var import_client67 = require("@apollo/client");
7876
8118
  var useGetAppSettings = () => {
7877
- const { loading, error, data, refetch } = (0, import_client65.useQuery)(GET_APP_SETTINGS, {
8119
+ const { loading, error, data, refetch } = (0, import_client67.useQuery)(GET_APP_SETTINGS, {
7878
8120
  fetchPolicy: "network-only"
7879
8121
  });
7880
8122
  const appSettings = data?.appSettings || null;
@@ -7882,14 +8124,14 @@ var useGetAppSettings = () => {
7882
8124
  };
7883
8125
 
7884
8126
  // src/graphql/hooks/billingCatalog/hooksMutation.ts
7885
- var import_client68 = require("@apollo/client");
8127
+ var import_client70 = require("@apollo/client");
7886
8128
 
7887
8129
  // src/graphql/mutations/billingCatalog.ts
7888
- var import_client67 = require("@apollo/client");
8130
+ var import_client69 = require("@apollo/client");
7889
8131
 
7890
8132
  // src/graphql/queries/billingCatalog.ts
7891
- var import_client66 = require("@apollo/client");
7892
- var BILLING_CATALOG_FIELDS_FRAGMENT = import_client66.gql`
8133
+ var import_client68 = require("@apollo/client");
8134
+ var BILLING_CATALOG_FIELDS_FRAGMENT = import_client68.gql`
7893
8135
  fragment BillingCatalogFields on BillingCatalogEntryType {
7894
8136
  _id
7895
8137
  active
@@ -7908,7 +8150,7 @@ var BILLING_CATALOG_FIELDS_FRAGMENT = import_client66.gql`
7908
8150
  updatedBy
7909
8151
  }
7910
8152
  `;
7911
- var GET_BILLING_CATALOG = import_client66.gql`
8153
+ var GET_BILLING_CATALOG = import_client68.gql`
7912
8154
  query getBillingCatalog {
7913
8155
  billingCatalog {
7914
8156
  ...BillingCatalogFields
@@ -7918,7 +8160,7 @@ var GET_BILLING_CATALOG = import_client66.gql`
7918
8160
  `;
7919
8161
 
7920
8162
  // src/graphql/mutations/billingCatalog.ts
7921
- var UPDATE_BILLING_CATALOG_PRICE_MUTATION = import_client67.gql`
8163
+ var UPDATE_BILLING_CATALOG_PRICE_MUTATION = import_client69.gql`
7922
8164
  mutation updateBillingCatalogPrice(
7923
8165
  $input: UpdateBillingCatalogPriceInputType!
7924
8166
  ) {
@@ -7931,7 +8173,7 @@ var UPDATE_BILLING_CATALOG_PRICE_MUTATION = import_client67.gql`
7931
8173
  }
7932
8174
  ${BILLING_CATALOG_FIELDS_FRAGMENT}
7933
8175
  `;
7934
- var SYNC_BILLING_CATALOG_PRICE_MUTATION = import_client67.gql`
8176
+ var SYNC_BILLING_CATALOG_PRICE_MUTATION = import_client69.gql`
7935
8177
  mutation syncBillingCatalogPrice($input: SyncBillingCatalogPriceInputType!) {
7936
8178
  syncBillingCatalogPrice(input: $input) {
7937
8179
  data {
@@ -7945,14 +8187,14 @@ var SYNC_BILLING_CATALOG_PRICE_MUTATION = import_client67.gql`
7945
8187
 
7946
8188
  // src/graphql/hooks/billingCatalog/hooksMutation.ts
7947
8189
  var useUpdateBillingCatalogPrice = () => {
7948
- const [updateBillingCatalogPrice, { error, loading }] = (0, import_client68.useMutation)(UPDATE_BILLING_CATALOG_PRICE_MUTATION, {
8190
+ const [updateBillingCatalogPrice, { error, loading }] = (0, import_client70.useMutation)(UPDATE_BILLING_CATALOG_PRICE_MUTATION, {
7949
8191
  awaitRefetchQueries: true,
7950
8192
  refetchQueries: [{ query: GET_BILLING_CATALOG }]
7951
8193
  });
7952
8194
  return { error, loading, updateBillingCatalogPrice };
7953
8195
  };
7954
8196
  var useSyncBillingCatalogPrice = () => {
7955
- const [syncBillingCatalogPrice, { error, loading }] = (0, import_client68.useMutation)(SYNC_BILLING_CATALOG_PRICE_MUTATION, {
8197
+ const [syncBillingCatalogPrice, { error, loading }] = (0, import_client70.useMutation)(SYNC_BILLING_CATALOG_PRICE_MUTATION, {
7956
8198
  awaitRefetchQueries: true,
7957
8199
  refetchQueries: [{ query: GET_BILLING_CATALOG }]
7958
8200
  });
@@ -7960,9 +8202,9 @@ var useSyncBillingCatalogPrice = () => {
7960
8202
  };
7961
8203
 
7962
8204
  // src/graphql/hooks/billingCatalog/hooksQuery.ts
7963
- var import_client69 = require("@apollo/client");
8205
+ var import_client71 = require("@apollo/client");
7964
8206
  var useGetBillingCatalog = () => {
7965
- const { data, error, loading, refetch } = (0, import_client69.useQuery)(GET_BILLING_CATALOG, {
8207
+ const { data, error, loading, refetch } = (0, import_client71.useQuery)(GET_BILLING_CATALOG, {
7966
8208
  fetchPolicy: "network-only"
7967
8209
  });
7968
8210
  return {
@@ -7974,14 +8216,14 @@ var useGetBillingCatalog = () => {
7974
8216
  };
7975
8217
 
7976
8218
  // src/graphql/hooks/game/hooksMutation.ts
7977
- var import_client72 = require("@apollo/client");
8219
+ var import_client74 = require("@apollo/client");
7978
8220
 
7979
8221
  // src/graphql/mutations/game.ts
7980
- var import_client71 = require("@apollo/client");
8222
+ var import_client73 = require("@apollo/client");
7981
8223
 
7982
8224
  // src/graphql/queries/game/game.ts
7983
- var import_client70 = require("@apollo/client");
7984
- var GAME_HISTORY_FIELDS_FRAGMENT = import_client70.gql`
8225
+ var import_client72 = require("@apollo/client");
8226
+ var GAME_HISTORY_FIELDS_FRAGMENT = import_client72.gql`
7985
8227
  fragment GameHistoryFields on GameHistoryType {
7986
8228
  createdAt
7987
8229
  gameDate {
@@ -7996,7 +8238,7 @@ var GAME_HISTORY_FIELDS_FRAGMENT = import_client70.gql`
7996
8238
  }
7997
8239
  ${GAME_DATE_FIELDS_FRAGMENT}
7998
8240
  `;
7999
- var GAME_DATA_FIELDS_FRAGMENT = import_client70.gql`
8241
+ var GAME_DATA_FIELDS_FRAGMENT = import_client72.gql`
8000
8242
  fragment GameDataFields on GameDataType {
8001
8243
  dailyClue {
8002
8244
  ...DailyClueGameDataFields
@@ -8011,7 +8253,7 @@ var GAME_DATA_FIELDS_FRAGMENT = import_client70.gql`
8011
8253
  ${DAILY_CLUE_GAME_DATA_FIELDS_FRAGMENT}
8012
8254
  ${PUZZLE_GAME_DATA_FIELDS_FRAGMENT}
8013
8255
  `;
8014
- var GAME_FIELDS_FRAGMENT = import_client70.gql`
8256
+ var GAME_FIELDS_FRAGMENT = import_client72.gql`
8015
8257
  fragment GameFields on GameType {
8016
8258
  _id
8017
8259
  active
@@ -8030,7 +8272,7 @@ var GAME_FIELDS_FRAGMENT = import_client70.gql`
8030
8272
  ${GAME_DATA_FIELDS_FRAGMENT}
8031
8273
  ${GAME_HISTORY_FIELDS_FRAGMENT}
8032
8274
  `;
8033
- var GAME_DOC_FIELDS_FRAGMENT = import_client70.gql`
8275
+ var GAME_DOC_FIELDS_FRAGMENT = import_client72.gql`
8034
8276
  fragment GameDocFields on GameDocType {
8035
8277
  _id
8036
8278
  active
@@ -8048,7 +8290,7 @@ var GAME_DOC_FIELDS_FRAGMENT = import_client70.gql`
8048
8290
  ${OWNER_FIELDS_FRAGMENT}
8049
8291
  ${GAME_FIELDS_FRAGMENT}
8050
8292
  `;
8051
- var GET_GAMES = import_client70.gql`
8293
+ var GET_GAMES = import_client72.gql`
8052
8294
  query getGames {
8053
8295
  games {
8054
8296
  ...GameDocFields
@@ -8056,7 +8298,7 @@ var GET_GAMES = import_client70.gql`
8056
8298
  }
8057
8299
  ${GAME_DOC_FIELDS_FRAGMENT}
8058
8300
  `;
8059
- var GET_GAME = import_client70.gql`
8301
+ var GET_GAME = import_client72.gql`
8060
8302
  query getGame($_id: ID) {
8061
8303
  game(_id: $_id) {
8062
8304
  ...GameDocFields
@@ -8064,7 +8306,7 @@ var GET_GAME = import_client70.gql`
8064
8306
  }
8065
8307
  ${GAME_DOC_FIELDS_FRAGMENT}
8066
8308
  `;
8067
- var GET_GAME_LEADERBOARD = import_client70.gql`
8309
+ var GET_GAME_LEADERBOARD = import_client72.gql`
8068
8310
  query getGameLeaderboard {
8069
8311
  gameLeaderboard {
8070
8312
  gameHistory {
@@ -8079,7 +8321,7 @@ var GET_GAME_LEADERBOARD = import_client70.gql`
8079
8321
  `;
8080
8322
 
8081
8323
  // src/graphql/mutations/game.ts
8082
- var START_GAME_MUTATION = import_client71.gql`
8324
+ var START_GAME_MUTATION = import_client73.gql`
8083
8325
  mutation startGame($input: BaseGameInputType!) {
8084
8326
  startGame(input: $input) {
8085
8327
  data {
@@ -8090,7 +8332,7 @@ var START_GAME_MUTATION = import_client71.gql`
8090
8332
  }
8091
8333
  ${GAME_DOC_FIELDS_FRAGMENT}
8092
8334
  `;
8093
- var LEAVE_GAME_MUTATION = import_client71.gql`
8335
+ var LEAVE_GAME_MUTATION = import_client73.gql`
8094
8336
  mutation leaveGame(
8095
8337
  $_id: ID!
8096
8338
  $gameType: GameTypeEnumType!
@@ -8102,7 +8344,7 @@ var LEAVE_GAME_MUTATION = import_client71.gql`
8102
8344
  }
8103
8345
  }
8104
8346
  `;
8105
- var UPDATE_DAILY_CLUE_MUTATION = import_client71.gql`
8347
+ var UPDATE_DAILY_CLUE_MUTATION = import_client73.gql`
8106
8348
  mutation updateDailyClueGame(
8107
8349
  $_id: ID!
8108
8350
  $foundLetter: String!
@@ -8123,7 +8365,7 @@ var UPDATE_DAILY_CLUE_MUTATION = import_client71.gql`
8123
8365
  }
8124
8366
  ${GAME_DOC_FIELDS_FRAGMENT}
8125
8367
  `;
8126
- var UPDATE_PUZZLE_GAME_MUTATION = import_client71.gql`
8368
+ var UPDATE_PUZZLE_GAME_MUTATION = import_client73.gql`
8127
8369
  mutation updatePuzzleGame(
8128
8370
  $_id: ID!
8129
8371
  $answeredQuestions: [PuzzleAnsweredQuestionInputType!]!
@@ -8147,7 +8389,7 @@ var UPDATE_PUZZLE_GAME_MUTATION = import_client71.gql`
8147
8389
 
8148
8390
  // src/graphql/hooks/game/hooksMutation.ts
8149
8391
  var useStartGame = () => {
8150
- const [startGame, { loading, error }] = (0, import_client72.useMutation)(START_GAME_MUTATION, {
8392
+ const [startGame, { loading, error }] = (0, import_client74.useMutation)(START_GAME_MUTATION, {
8151
8393
  awaitRefetchQueries: true,
8152
8394
  refetchQueries: (mutationResult) => {
8153
8395
  const gameId = mutationResult?.data?.startGame?.data?._id;
@@ -8170,7 +8412,7 @@ var useStartGame = () => {
8170
8412
  return { error, loading, startGame };
8171
8413
  };
8172
8414
  var useLeaveGame = () => {
8173
- const [leaveGame, { loading, error }] = (0, import_client72.useMutation)(LEAVE_GAME_MUTATION, {
8415
+ const [leaveGame, { loading, error }] = (0, import_client74.useMutation)(LEAVE_GAME_MUTATION, {
8174
8416
  awaitRefetchQueries: true,
8175
8417
  refetchQueries: [
8176
8418
  {
@@ -8181,7 +8423,7 @@ var useLeaveGame = () => {
8181
8423
  return { error, leaveGame, loading };
8182
8424
  };
8183
8425
  var useUpdateDailyClueGame = () => {
8184
- const [updateDailyClueGame, { loading, error }] = (0, import_client72.useMutation)(UPDATE_DAILY_CLUE_MUTATION, {
8426
+ const [updateDailyClueGame, { loading, error }] = (0, import_client74.useMutation)(UPDATE_DAILY_CLUE_MUTATION, {
8185
8427
  awaitRefetchQueries: true,
8186
8428
  refetchQueries: (mutationResult) => {
8187
8429
  const gameId = mutationResult?.data?.updateDailyClueGame?.data?._id;
@@ -8198,7 +8440,7 @@ var useUpdateDailyClueGame = () => {
8198
8440
  return { error, loading, updateDailyClueGame };
8199
8441
  };
8200
8442
  var useUpdatePuzzleGame = () => {
8201
- const [updatePuzzleGame, { loading, error }] = (0, import_client72.useMutation)(UPDATE_PUZZLE_GAME_MUTATION, {
8443
+ const [updatePuzzleGame, { loading, error }] = (0, import_client74.useMutation)(UPDATE_PUZZLE_GAME_MUTATION, {
8202
8444
  awaitRefetchQueries: true,
8203
8445
  refetchQueries: (mutationResult) => {
8204
8446
  const gameId = mutationResult?.data?.updatePuzzleGame?.data?._id;
@@ -8216,16 +8458,16 @@ var useUpdatePuzzleGame = () => {
8216
8458
  };
8217
8459
 
8218
8460
  // src/graphql/hooks/game/hooksQuery.ts
8219
- var import_client73 = require("@apollo/client");
8461
+ var import_client75 = require("@apollo/client");
8220
8462
  var useGetGames = () => {
8221
- const { loading, error, data, refetch } = (0, import_client73.useQuery)(GET_GAMES, {
8463
+ const { loading, error, data, refetch } = (0, import_client75.useQuery)(GET_GAMES, {
8222
8464
  fetchPolicy: "network-only"
8223
8465
  });
8224
8466
  const games = data?.games || [];
8225
8467
  return { error, games, loading, refetch };
8226
8468
  };
8227
8469
  var useGetGame = (_id) => {
8228
- const { loading, error, data, refetch } = (0, import_client73.useQuery)(GET_GAME, {
8470
+ const { loading, error, data, refetch } = (0, import_client75.useQuery)(GET_GAME, {
8229
8471
  fetchPolicy: "network-only",
8230
8472
  skip: !_id,
8231
8473
  variables: _id ? { _id } : void 0
@@ -8234,7 +8476,7 @@ var useGetGame = (_id) => {
8234
8476
  return { error, game, loading, refetch };
8235
8477
  };
8236
8478
  var useGetGameLeaderboard = () => {
8237
- const { loading, error, data, refetch } = (0, import_client73.useQuery)(GET_GAME_LEADERBOARD, {
8479
+ const { loading, error, data, refetch } = (0, import_client75.useQuery)(GET_GAME_LEADERBOARD, {
8238
8480
  fetchPolicy: "network-only"
8239
8481
  });
8240
8482
  const gameLeaderboard = data?.gameLeaderboard || [];
@@ -8242,14 +8484,14 @@ var useGetGameLeaderboard = () => {
8242
8484
  };
8243
8485
 
8244
8486
  // src/graphql/hooks/school/hooksMutation.ts
8245
- var import_client76 = require("@apollo/client");
8487
+ var import_client78 = require("@apollo/client");
8246
8488
 
8247
8489
  // src/graphql/mutations/school.ts
8248
- var import_client75 = require("@apollo/client");
8490
+ var import_client77 = require("@apollo/client");
8249
8491
 
8250
8492
  // src/graphql/queries/school.ts
8251
- var import_client74 = require("@apollo/client");
8252
- var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client74.gql`
8493
+ var import_client76 = require("@apollo/client");
8494
+ var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client76.gql`
8253
8495
  fragment SchoolRegisteredUsersFields on SchoolRegisteredUserType {
8254
8496
  _id
8255
8497
  active
@@ -8262,14 +8504,14 @@ var SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT = import_client74.gql`
8262
8504
  }
8263
8505
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
8264
8506
  `;
8265
- var SCHOOL_CAMPAIGN_FIELDS_FRAGMENT = import_client74.gql`
8507
+ var SCHOOL_CAMPAIGN_FIELDS_FRAGMENT = import_client76.gql`
8266
8508
  fragment SchoolCampaignFields on SchoolCampaignType {
8267
8509
  endDate
8268
8510
  name
8269
8511
  startDate
8270
8512
  }
8271
8513
  `;
8272
- var SCHOOL = import_client74.gql`
8514
+ var SCHOOL = import_client76.gql`
8273
8515
  fragment SchoolFields on SchoolType {
8274
8516
  _id
8275
8517
  active
@@ -8313,7 +8555,7 @@ var SCHOOL = import_client74.gql`
8313
8555
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
8314
8556
  ${SCHOOL_CAMPAIGN_FIELDS_FRAGMENT}
8315
8557
  `;
8316
- var GET_SCHOOL = import_client74.gql`
8558
+ var GET_SCHOOL = import_client76.gql`
8317
8559
  query getSchool($_id: ID!) {
8318
8560
  school(_id: $_id) {
8319
8561
  school {
@@ -8327,7 +8569,7 @@ var GET_SCHOOL = import_client74.gql`
8327
8569
  ${SCHOOL}
8328
8570
  ${SCHOOL_REGISTERED_USERS_FIELDS_FRAGMENT}
8329
8571
  `;
8330
- var GET_SCHOOLS = import_client74.gql`
8572
+ var GET_SCHOOLS = import_client76.gql`
8331
8573
  query getSchools {
8332
8574
  schools {
8333
8575
  ...SchoolFields
@@ -8337,7 +8579,7 @@ var GET_SCHOOLS = import_client74.gql`
8337
8579
  `;
8338
8580
 
8339
8581
  // src/graphql/mutations/school.ts
8340
- var CREATE_SCHOOL_MUTATION = import_client75.gql`
8582
+ var CREATE_SCHOOL_MUTATION = import_client77.gql`
8341
8583
  mutation createSchool($input: SchoolInputType!) {
8342
8584
  createSchool(input: $input) {
8343
8585
  data {
@@ -8348,7 +8590,7 @@ var CREATE_SCHOOL_MUTATION = import_client75.gql`
8348
8590
  }
8349
8591
  ${SCHOOL}
8350
8592
  `;
8351
- var UPDATE_SCHOOL_MUTATION = import_client75.gql`
8593
+ var UPDATE_SCHOOL_MUTATION = import_client77.gql`
8352
8594
  mutation updateSchool($_id: ID!, $input: SchoolInputType!) {
8353
8595
  updateSchool(_id: $_id, input: $input) {
8354
8596
  data {
@@ -8359,7 +8601,7 @@ var UPDATE_SCHOOL_MUTATION = import_client75.gql`
8359
8601
  }
8360
8602
  ${SCHOOL}
8361
8603
  `;
8362
- var DELETE_SCHOOL_MUTATION = import_client75.gql`
8604
+ var DELETE_SCHOOL_MUTATION = import_client77.gql`
8363
8605
  mutation deleteSchool($_id: ID!) {
8364
8606
  deleteSchool(_id: $_id) {
8365
8607
  data
@@ -8367,7 +8609,7 @@ var DELETE_SCHOOL_MUTATION = import_client75.gql`
8367
8609
  }
8368
8610
  }
8369
8611
  `;
8370
- var REQUEST_MARKETING_MATERIAL_MUTATION = import_client75.gql`
8612
+ var REQUEST_MARKETING_MATERIAL_MUTATION = import_client77.gql`
8371
8613
  mutation requestMarketingMaterial(
8372
8614
  $input: MarketingMaterialRequestInputType!
8373
8615
  ) {
@@ -8380,35 +8622,35 @@ var REQUEST_MARKETING_MATERIAL_MUTATION = import_client75.gql`
8380
8622
 
8381
8623
  // src/graphql/hooks/school/hooksMutation.ts
8382
8624
  var useCreateSchool = () => {
8383
- const [createSchool, { loading, error }] = (0, import_client76.useMutation)(CREATE_SCHOOL_MUTATION, {
8625
+ const [createSchool, { loading, error }] = (0, import_client78.useMutation)(CREATE_SCHOOL_MUTATION, {
8384
8626
  awaitRefetchQueries: true,
8385
8627
  refetchQueries: [{ query: GET_SCHOOLS }]
8386
8628
  });
8387
8629
  return { createSchool, error, loading };
8388
8630
  };
8389
8631
  var useUpdateSchool = () => {
8390
- const [updateSchool, { loading, error }] = (0, import_client76.useMutation)(UPDATE_SCHOOL_MUTATION, {
8632
+ const [updateSchool, { loading, error }] = (0, import_client78.useMutation)(UPDATE_SCHOOL_MUTATION, {
8391
8633
  awaitRefetchQueries: true,
8392
8634
  refetchQueries: [{ query: GET_SCHOOLS }]
8393
8635
  });
8394
8636
  return { error, loading, updateSchool };
8395
8637
  };
8396
8638
  var useDeleteSchool = () => {
8397
- const [deleteSchool, { loading, error }] = (0, import_client76.useMutation)(DELETE_SCHOOL_MUTATION, {
8639
+ const [deleteSchool, { loading, error }] = (0, import_client78.useMutation)(DELETE_SCHOOL_MUTATION, {
8398
8640
  awaitRefetchQueries: true,
8399
8641
  refetchQueries: [{ query: GET_SCHOOLS }]
8400
8642
  });
8401
8643
  return { deleteSchool, error, loading };
8402
8644
  };
8403
8645
  var useRequestMarketingMaterial = () => {
8404
- const [requestMarketingMaterial, { loading, error }] = (0, import_client76.useMutation)(REQUEST_MARKETING_MATERIAL_MUTATION);
8646
+ const [requestMarketingMaterial, { loading, error }] = (0, import_client78.useMutation)(REQUEST_MARKETING_MATERIAL_MUTATION);
8405
8647
  return { error, loading, requestMarketingMaterial };
8406
8648
  };
8407
8649
 
8408
8650
  // src/graphql/hooks/school/hooksQuery.ts
8409
- var import_client77 = require("@apollo/client");
8651
+ var import_client79 = require("@apollo/client");
8410
8652
  var useGetSchools = () => {
8411
- const { data, loading, error, refetch } = (0, import_client77.useQuery)(
8653
+ const { data, loading, error, refetch } = (0, import_client79.useQuery)(
8412
8654
  GET_SCHOOLS,
8413
8655
  {
8414
8656
  fetchPolicy: "network-only"
@@ -8422,7 +8664,7 @@ var useGetSchools = () => {
8422
8664
  };
8423
8665
  };
8424
8666
  var useGetSchool = (_id) => {
8425
- const { data, loading, error, refetch } = (0, import_client77.useQuery)(GET_SCHOOL, {
8667
+ const { data, loading, error, refetch } = (0, import_client79.useQuery)(GET_SCHOOL, {
8426
8668
  fetchPolicy: "network-only",
8427
8669
  skip: !_id,
8428
8670
  variables: { _id }
@@ -8436,11 +8678,11 @@ var useGetSchool = (_id) => {
8436
8678
  };
8437
8679
 
8438
8680
  // src/graphql/hooks/affiliate/hooksQuery.ts
8439
- var import_client79 = require("@apollo/client");
8681
+ var import_client81 = require("@apollo/client");
8440
8682
 
8441
8683
  // src/graphql/queries/affiliate.ts
8442
- var import_client78 = require("@apollo/client");
8443
- var AFFILIATE_REWARD_FIELDS_FRAGMENT = import_client78.gql`
8684
+ var import_client80 = require("@apollo/client");
8685
+ var AFFILIATE_REWARD_FIELDS_FRAGMENT = import_client80.gql`
8444
8686
  fragment AffiliateRewardFields on AffiliateRewardType {
8445
8687
  createdAt
8446
8688
  redeemedAt
@@ -8449,7 +8691,7 @@ var AFFILIATE_REWARD_FIELDS_FRAGMENT = import_client78.gql`
8449
8691
  rewardValue
8450
8692
  }
8451
8693
  `;
8452
- var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = import_client78.gql`
8694
+ var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = import_client80.gql`
8453
8695
  fragment AffiliateResourceFields on AffiliateResourceType {
8454
8696
  resourceActive
8455
8697
  resourceDeletedAt
@@ -8466,13 +8708,13 @@ var AFFILIATE_RESOURCE_FIELDS_FRAGMENT = import_client78.gql`
8466
8708
  ${AFFILIATE_REWARD_FIELDS_FRAGMENT}
8467
8709
  ${OWNER_FIELDS_FRAGMENT}
8468
8710
  `;
8469
- var AFFILIATE_BANK_ACCOUNT_DETAILS_FIELDS_FRAGMENT = import_client78.gql`
8711
+ var AFFILIATE_BANK_ACCOUNT_DETAILS_FIELDS_FRAGMENT = import_client80.gql`
8470
8712
  fragment AffiliateBankAccountDetailsFields on AffiliateBankAccountDetailsType {
8471
8713
  accountHolderName
8472
8714
  accountNumber
8473
8715
  }
8474
8716
  `;
8475
- var AFFILIATE_DETAILS_FIELDS_FRAGMENT = import_client78.gql`
8717
+ var AFFILIATE_DETAILS_FIELDS_FRAGMENT = import_client80.gql`
8476
8718
  fragment AffiliateDetailsFields on AffiliateDetailsType {
8477
8719
  bankAccountDetails {
8478
8720
  ...AffiliateBankAccountDetailsFields
@@ -8500,7 +8742,7 @@ var AFFILIATE_DETAILS_FIELDS_FRAGMENT = import_client78.gql`
8500
8742
  ${SOCIAL_MEDIA_FIELDS_FRAGMENT}
8501
8743
  ${TERMS_AGREEMENT_FIELDS_FRAGMENT}
8502
8744
  `;
8503
- var AFFILIATE_FIELDS_FRAGMENT = import_client78.gql`
8745
+ var AFFILIATE_FIELDS_FRAGMENT = import_client80.gql`
8504
8746
  fragment AffiliateFields on AffiliateType {
8505
8747
  _id
8506
8748
  active
@@ -8532,7 +8774,7 @@ var AFFILIATE_FIELDS_FRAGMENT = import_client78.gql`
8532
8774
  ${AFFILIATE_RESOURCE_FIELDS_FRAGMENT}
8533
8775
  ${OWNER_FIELDS_FRAGMENT}
8534
8776
  `;
8535
- var GET_AFFILIATE = import_client78.gql`
8777
+ var GET_AFFILIATE = import_client80.gql`
8536
8778
  query getAffiliate($_id: ID!) {
8537
8779
  affiliate(_id: $_id) {
8538
8780
  ...AffiliateFields
@@ -8540,7 +8782,7 @@ var GET_AFFILIATE = import_client78.gql`
8540
8782
  }
8541
8783
  ${AFFILIATE_FIELDS_FRAGMENT}
8542
8784
  `;
8543
- var GET_AFFILIATES = import_client78.gql`
8785
+ var GET_AFFILIATES = import_client80.gql`
8544
8786
  query getAffiliates {
8545
8787
  affiliates {
8546
8788
  ...AffiliateFields
@@ -8551,7 +8793,7 @@ var GET_AFFILIATES = import_client78.gql`
8551
8793
 
8552
8794
  // src/graphql/hooks/affiliate/hooksQuery.ts
8553
8795
  var useGetAffiliate = (_id) => {
8554
- const { data, loading, error, refetch } = (0, import_client79.useQuery)(GET_AFFILIATE, {
8796
+ const { data, loading, error, refetch } = (0, import_client81.useQuery)(GET_AFFILIATE, {
8555
8797
  fetchPolicy: "network-only",
8556
8798
  skip: !_id || _id === "",
8557
8799
  variables: { _id }
@@ -8565,7 +8807,7 @@ var useGetAffiliate = (_id) => {
8565
8807
  };
8566
8808
  };
8567
8809
  var useGetAffiliates = () => {
8568
- const { data, loading, error, refetch } = (0, import_client79.useQuery)(GET_AFFILIATES, {
8810
+ const { data, loading, error, refetch } = (0, import_client81.useQuery)(GET_AFFILIATES, {
8569
8811
  fetchPolicy: "network-only"
8570
8812
  });
8571
8813
  const affiliates = data?.affiliates || [];
@@ -8578,11 +8820,11 @@ var useGetAffiliates = () => {
8578
8820
  };
8579
8821
 
8580
8822
  // src/graphql/hooks/affiliate/hooksMutation.ts
8581
- var import_client81 = require("@apollo/client");
8823
+ var import_client83 = require("@apollo/client");
8582
8824
 
8583
8825
  // src/graphql/mutations/affiliate.ts
8584
- var import_client80 = require("@apollo/client");
8585
- var CREATE_AFFILIATE_MUTATION = import_client80.gql`
8826
+ var import_client82 = require("@apollo/client");
8827
+ var CREATE_AFFILIATE_MUTATION = import_client82.gql`
8586
8828
  mutation createAffiliate($input: AffiliateDetailsInputType!) {
8587
8829
  createAffiliate(input: $input) {
8588
8830
  data {
@@ -8593,7 +8835,7 @@ var CREATE_AFFILIATE_MUTATION = import_client80.gql`
8593
8835
  }
8594
8836
  ${AFFILIATE_FIELDS_FRAGMENT}
8595
8837
  `;
8596
- var UPDATE_AFFILIATE_DETAILS_MUTATION = import_client80.gql`
8838
+ var UPDATE_AFFILIATE_DETAILS_MUTATION = import_client82.gql`
8597
8839
  mutation updateAffiliateDetails(
8598
8840
  $input: AffiliateDetailsInputType!
8599
8841
  $affiliateId: ID!
@@ -8607,7 +8849,7 @@ var UPDATE_AFFILIATE_DETAILS_MUTATION = import_client80.gql`
8607
8849
  }
8608
8850
  ${AFFILIATE_FIELDS_FRAGMENT}
8609
8851
  `;
8610
- var DELETE_AFFILIATE_MUTATION = import_client80.gql`
8852
+ var DELETE_AFFILIATE_MUTATION = import_client82.gql`
8611
8853
  mutation deleteAffiliate($_id: ID!) {
8612
8854
  deleteAffiliate(_id: $_id) {
8613
8855
  data
@@ -8615,7 +8857,7 @@ var DELETE_AFFILIATE_MUTATION = import_client80.gql`
8615
8857
  }
8616
8858
  }
8617
8859
  `;
8618
- var REDEEM_AFFILIATE_REWARD_MUTATION = import_client80.gql`
8860
+ var REDEEM_AFFILIATE_REWARD_MUTATION = import_client82.gql`
8619
8861
  mutation redeemAffiliateReward($affiliateId: ID!) {
8620
8862
  redeemAffiliateReward(affiliateId: $affiliateId) {
8621
8863
  data {
@@ -8626,7 +8868,7 @@ var REDEEM_AFFILIATE_REWARD_MUTATION = import_client80.gql`
8626
8868
  }
8627
8869
  ${AFFILIATE_FIELDS_FRAGMENT}
8628
8870
  `;
8629
- var ASSIGN_AFFILIATE_RESOURCE_REWARD_MUTATION = import_client80.gql`
8871
+ var ASSIGN_AFFILIATE_RESOURCE_REWARD_MUTATION = import_client82.gql`
8630
8872
  mutation assignAffiliateResourceReward(
8631
8873
  $affiliateId: ID!
8632
8874
  $resourceId: ID!
@@ -8647,7 +8889,7 @@ var ASSIGN_AFFILIATE_RESOURCE_REWARD_MUTATION = import_client80.gql`
8647
8889
  }
8648
8890
  ${AFFILIATE_FIELDS_FRAGMENT}
8649
8891
  `;
8650
- var ASSIGN_AFFILIATE_BONUS_REWARD_MUTATION = import_client80.gql`
8892
+ var ASSIGN_AFFILIATE_BONUS_REWARD_MUTATION = import_client82.gql`
8651
8893
  mutation assignAffiliateBonusReward(
8652
8894
  $affiliateId: ID!
8653
8895
  $rewardType: AffiliateRewardEnumType!
@@ -8667,7 +8909,7 @@ var ASSIGN_AFFILIATE_BONUS_REWARD_MUTATION = import_client80.gql`
8667
8909
 
8668
8910
  // src/graphql/hooks/affiliate/hooksMutation.ts
8669
8911
  var useCreateAffiliate = () => {
8670
- const [createAffiliate, { loading, error }] = (0, import_client81.useMutation)(CREATE_AFFILIATE_MUTATION, {
8912
+ const [createAffiliate, { loading, error }] = (0, import_client83.useMutation)(CREATE_AFFILIATE_MUTATION, {
8671
8913
  awaitRefetchQueries: true,
8672
8914
  refetchQueries: (mutationResult) => {
8673
8915
  const affiliateId = mutationResult?.data?.createAffiliate?.data?._id;
@@ -8678,7 +8920,7 @@ var useCreateAffiliate = () => {
8678
8920
  return { createAffiliate, error, loading };
8679
8921
  };
8680
8922
  var useUpdateAffiliateDetails = () => {
8681
- const [updateAffiliateDetails, { loading, error }] = (0, import_client81.useMutation)(UPDATE_AFFILIATE_DETAILS_MUTATION, {
8923
+ const [updateAffiliateDetails, { loading, error }] = (0, import_client83.useMutation)(UPDATE_AFFILIATE_DETAILS_MUTATION, {
8682
8924
  awaitRefetchQueries: true,
8683
8925
  refetchQueries: (mutationResult) => {
8684
8926
  const affiliateId = mutationResult?.data?.updateAffiliateDetails?.data?._id;
@@ -8689,14 +8931,14 @@ var useUpdateAffiliateDetails = () => {
8689
8931
  return { error, loading, updateAffiliateDetails };
8690
8932
  };
8691
8933
  var useDeleteAffiliate = () => {
8692
- const [deleteAffiliate, { loading, error }] = (0, import_client81.useMutation)(DELETE_AFFILIATE_MUTATION, {
8934
+ const [deleteAffiliate, { loading, error }] = (0, import_client83.useMutation)(DELETE_AFFILIATE_MUTATION, {
8693
8935
  awaitRefetchQueries: true,
8694
8936
  refetchQueries: [{ query: GET_AFFILIATES }]
8695
8937
  });
8696
8938
  return { deleteAffiliate, error, loading };
8697
8939
  };
8698
8940
  var useRedeemAffiliateReward = () => {
8699
- const [redeemAffiliateReward, { loading, error }] = (0, import_client81.useMutation)(REDEEM_AFFILIATE_REWARD_MUTATION, {
8941
+ const [redeemAffiliateReward, { loading, error }] = (0, import_client83.useMutation)(REDEEM_AFFILIATE_REWARD_MUTATION, {
8700
8942
  awaitRefetchQueries: true,
8701
8943
  refetchQueries: (mutationResult) => {
8702
8944
  const affiliateId = mutationResult?.data?.redeemAffiliateReward?.data?._id;
@@ -8707,7 +8949,7 @@ var useRedeemAffiliateReward = () => {
8707
8949
  return { error, loading, redeemAffiliateReward };
8708
8950
  };
8709
8951
  var useAssignAffiliateResourceReward = () => {
8710
- const [assignAffiliateResourceReward, { loading, error }] = (0, import_client81.useMutation)(ASSIGN_AFFILIATE_RESOURCE_REWARD_MUTATION, {
8952
+ const [assignAffiliateResourceReward, { loading, error }] = (0, import_client83.useMutation)(ASSIGN_AFFILIATE_RESOURCE_REWARD_MUTATION, {
8711
8953
  awaitRefetchQueries: true,
8712
8954
  refetchQueries: (mutationResult) => {
8713
8955
  const affiliateId = mutationResult?.data?.assignAffiliateResourceReward?.data?._id;
@@ -8718,7 +8960,7 @@ var useAssignAffiliateResourceReward = () => {
8718
8960
  return { assignAffiliateResourceReward, error, loading };
8719
8961
  };
8720
8962
  var useAssignAffiliateBonusReward = () => {
8721
- const [assignAffiliateBonusReward, { loading, error }] = (0, import_client81.useMutation)(ASSIGN_AFFILIATE_BONUS_REWARD_MUTATION, {
8963
+ const [assignAffiliateBonusReward, { loading, error }] = (0, import_client83.useMutation)(ASSIGN_AFFILIATE_BONUS_REWARD_MUTATION, {
8722
8964
  awaitRefetchQueries: true,
8723
8965
  refetchQueries: (mutationResult) => {
8724
8966
  const affiliateId = mutationResult?.data?.assignAffiliateBonusReward?.data?._id;
@@ -8730,14 +8972,14 @@ var useAssignAffiliateBonusReward = () => {
8730
8972
  };
8731
8973
 
8732
8974
  // src/graphql/hooks/coupon/hooksMutation.ts
8733
- var import_client84 = require("@apollo/client");
8975
+ var import_client86 = require("@apollo/client");
8734
8976
 
8735
8977
  // src/graphql/mutations/coupon.ts
8736
- var import_client83 = require("@apollo/client");
8978
+ var import_client85 = require("@apollo/client");
8737
8979
 
8738
8980
  // src/graphql/queries/coupon.ts
8739
- var import_client82 = require("@apollo/client");
8740
- var COUPON_CODE_FIELDS_FRAGMENT = import_client82.gql`
8981
+ var import_client84 = require("@apollo/client");
8982
+ var COUPON_CODE_FIELDS_FRAGMENT = import_client84.gql`
8741
8983
  fragment CouponCodeFields on CouponCodeType {
8742
8984
  code
8743
8985
  qrCode {
@@ -8749,7 +8991,7 @@ var COUPON_CODE_FIELDS_FRAGMENT = import_client82.gql`
8749
8991
  }
8750
8992
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
8751
8993
  `;
8752
- var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = import_client82.gql`
8994
+ var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = import_client84.gql`
8753
8995
  fragment CouponParticipantUserFields on CouponParticipantUserType {
8754
8996
  couponCollectedCount
8755
8997
  couponRedeemedAt
@@ -8761,7 +9003,7 @@ var COUPON_PARTICIPANT_USER_FIELDS_FRAGMENT = import_client82.gql`
8761
9003
  nickName
8762
9004
  }
8763
9005
  `;
8764
- var COUPON_OPTION_FIELDS_FRAGMENT = import_client82.gql`
9006
+ var COUPON_OPTION_FIELDS_FRAGMENT = import_client84.gql`
8765
9007
  fragment CouponOptionFields on CouponOptionType {
8766
9008
  type
8767
9009
  buy
@@ -8771,7 +9013,7 @@ var COUPON_OPTION_FIELDS_FRAGMENT = import_client82.gql`
8771
9013
  maxRewardCount
8772
9014
  }
8773
9015
  `;
8774
- var COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT = import_client82.gql`
9016
+ var COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT = import_client84.gql`
8775
9017
  fragment CouponVendorProductFields on CouponVendorProductType {
8776
9018
  couponId
8777
9019
  vendorId
@@ -8779,7 +9021,7 @@ var COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT = import_client82.gql`
8779
9021
  vendorCouponId
8780
9022
  }
8781
9023
  `;
8782
- var COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT = import_client82.gql`
9024
+ var COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT = import_client84.gql`
8783
9025
  fragment CouponDataProductsFields on CouponDataProductsType {
8784
9026
  active
8785
9027
  couponId
@@ -8795,7 +9037,7 @@ var COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT = import_client82.gql`
8795
9037
  ${VENDOR_PRODUCT_LIST_FIELDS_FRAGMENT}
8796
9038
  ${RESOURCE_IMAGE_FIELDS_FRAGMENT}
8797
9039
  `;
8798
- var COUPON_DATA_FIELDS_FRAGMENT = import_client82.gql`
9040
+ var COUPON_DATA_FIELDS_FRAGMENT = import_client84.gql`
8799
9041
  fragment CouponDataFields on CouponDataType {
8800
9042
  _id
8801
9043
  active
@@ -8829,7 +9071,7 @@ var COUPON_DATA_FIELDS_FRAGMENT = import_client82.gql`
8829
9071
  ${COUPON_VENDOR_PRODUCT_FIELDS_FRAGMENT}
8830
9072
  ${COUPON_DATA_PRODUCTS_FIELDS_FRAGMENT}
8831
9073
  `;
8832
- var COUPON = import_client82.gql`
9074
+ var COUPON = import_client84.gql`
8833
9075
  fragment CouponFields on CouponType {
8834
9076
  _id
8835
9077
  active
@@ -8846,7 +9088,7 @@ var COUPON = import_client82.gql`
8846
9088
  ${OWNER_FIELDS_FRAGMENT}
8847
9089
  ${COUPON_DATA_FIELDS_FRAGMENT}
8848
9090
  `;
8849
- var GET_COUPONS = import_client82.gql`
9091
+ var GET_COUPONS = import_client84.gql`
8850
9092
  query getCoupons(
8851
9093
  $region: String
8852
9094
  $category: String
@@ -8881,7 +9123,7 @@ var GET_COUPONS = import_client82.gql`
8881
9123
  }
8882
9124
  ${COUPON}
8883
9125
  `;
8884
- var GET_COUPON = import_client82.gql`
9126
+ var GET_COUPON = import_client84.gql`
8885
9127
  query getCoupon($_id: ID!) {
8886
9128
  coupon(_id: $_id) {
8887
9129
  ...CouponFields
@@ -8891,7 +9133,7 @@ var GET_COUPON = import_client82.gql`
8891
9133
  `;
8892
9134
 
8893
9135
  // src/graphql/mutations/coupon.ts
8894
- var CREATE_COUPON_MUTATION = import_client83.gql`
9136
+ var CREATE_COUPON_MUTATION = import_client85.gql`
8895
9137
  mutation createCoupon($input: CouponInputType!) {
8896
9138
  createCoupon(input: $input) {
8897
9139
  data {
@@ -8902,7 +9144,7 @@ var CREATE_COUPON_MUTATION = import_client83.gql`
8902
9144
  }
8903
9145
  ${COUPON}
8904
9146
  `;
8905
- var UPDATE_COUPON_MUTATION = import_client83.gql`
9147
+ var UPDATE_COUPON_MUTATION = import_client85.gql`
8906
9148
  mutation updateCoupon(
8907
9149
  $couponDocumentId: ID!
8908
9150
  $couponId: ID!
@@ -8921,7 +9163,7 @@ var UPDATE_COUPON_MUTATION = import_client83.gql`
8921
9163
  }
8922
9164
  ${COUPON}
8923
9165
  `;
8924
- var DELETE_COUPON_MUTATION = import_client83.gql`
9166
+ var DELETE_COUPON_MUTATION = import_client85.gql`
8925
9167
  mutation deleteCoupon($input: ProductCouponInputType!) {
8926
9168
  deleteCoupon(input: $input) {
8927
9169
  data
@@ -8929,7 +9171,7 @@ var DELETE_COUPON_MUTATION = import_client83.gql`
8929
9171
  }
8930
9172
  }
8931
9173
  `;
8932
- var SCAN_COUPON_MUTATION = import_client83.gql`
9174
+ var SCAN_COUPON_MUTATION = import_client85.gql`
8933
9175
  mutation scanCoupon($input: ProductCouponInputType!) {
8934
9176
  scanCoupon(input: $input) {
8935
9177
  data
@@ -8937,7 +9179,7 @@ var SCAN_COUPON_MUTATION = import_client83.gql`
8937
9179
  }
8938
9180
  }
8939
9181
  `;
8940
- var REWARD_COUPON_MUTATION = import_client83.gql`
9182
+ var REWARD_COUPON_MUTATION = import_client85.gql`
8941
9183
  mutation rewardCoupon($input: ProductCouponInputType!, $userId: ID!) {
8942
9184
  rewardCoupon(input: $input, userId: $userId) {
8943
9185
  data
@@ -8948,32 +9190,32 @@ var REWARD_COUPON_MUTATION = import_client83.gql`
8948
9190
 
8949
9191
  // src/graphql/hooks/coupon/hooksMutation.ts
8950
9192
  var useCreateCoupon = () => {
8951
- const [createCoupon, { loading, error }] = (0, import_client84.useMutation)(CREATE_COUPON_MUTATION, {
9193
+ const [createCoupon, { loading, error }] = (0, import_client86.useMutation)(CREATE_COUPON_MUTATION, {
8952
9194
  awaitRefetchQueries: true,
8953
9195
  refetchQueries: [GET_COUPONS]
8954
9196
  });
8955
9197
  return { createCoupon, error, loading };
8956
9198
  };
8957
9199
  var useUpdateCoupon = () => {
8958
- const [updateCoupon, { loading, error }] = (0, import_client84.useMutation)(UPDATE_COUPON_MUTATION, {
9200
+ const [updateCoupon, { loading, error }] = (0, import_client86.useMutation)(UPDATE_COUPON_MUTATION, {
8959
9201
  awaitRefetchQueries: true,
8960
9202
  refetchQueries: [GET_COUPONS]
8961
9203
  });
8962
9204
  return { error, loading, updateCoupon };
8963
9205
  };
8964
9206
  var useDeleteCoupon = () => {
8965
- const [deleteCoupon, { loading, error }] = (0, import_client84.useMutation)(DELETE_COUPON_MUTATION, {
9207
+ const [deleteCoupon, { loading, error }] = (0, import_client86.useMutation)(DELETE_COUPON_MUTATION, {
8966
9208
  awaitRefetchQueries: true,
8967
9209
  refetchQueries: [GET_COUPONS]
8968
9210
  });
8969
9211
  return { deleteCoupon, error, loading };
8970
9212
  };
8971
9213
  var useScanCoupon = () => {
8972
- const [scanCoupon, { loading, error }] = (0, import_client84.useMutation)(SCAN_COUPON_MUTATION);
9214
+ const [scanCoupon, { loading, error }] = (0, import_client86.useMutation)(SCAN_COUPON_MUTATION);
8973
9215
  return { error, loading, scanCoupon };
8974
9216
  };
8975
9217
  var useRewardCoupon = () => {
8976
- const [rewardCoupon, { loading, error }] = (0, import_client84.useMutation)(REWARD_COUPON_MUTATION, {
9218
+ const [rewardCoupon, { loading, error }] = (0, import_client86.useMutation)(REWARD_COUPON_MUTATION, {
8977
9219
  awaitRefetchQueries: true,
8978
9220
  refetchQueries: [GET_COUPONS]
8979
9221
  });
@@ -8981,9 +9223,9 @@ var useRewardCoupon = () => {
8981
9223
  };
8982
9224
 
8983
9225
  // src/graphql/hooks/coupon/hooksQuery.ts
8984
- var import_client85 = require("@apollo/client");
9226
+ var import_client87 = require("@apollo/client");
8985
9227
  var useGetCoupons = (variables) => {
8986
- const { loading, error, data, refetch } = (0, import_client85.useQuery)(GET_COUPONS, {
9228
+ const { loading, error, data, refetch } = (0, import_client87.useQuery)(GET_COUPONS, {
8987
9229
  fetchPolicy: "network-only",
8988
9230
  variables
8989
9231
  });
@@ -8995,7 +9237,7 @@ var useGetCoupons = (variables) => {
8995
9237
  return { coupons, error, loading, refetch };
8996
9238
  };
8997
9239
  var useGetCoupon = (_id) => {
8998
- const { loading, error, data, refetch } = (0, import_client85.useQuery)(GET_COUPON, {
9240
+ const { loading, error, data, refetch } = (0, import_client87.useQuery)(GET_COUPON, {
8999
9241
  fetchPolicy: "network-only",
9000
9242
  skip: !_id || _id === "",
9001
9243
  variables: { _id }
@@ -9005,7 +9247,7 @@ var useGetCoupon = (_id) => {
9005
9247
  };
9006
9248
 
9007
9249
  // src/graphql/hooks/usePaginatedList.ts
9008
- var import_client86 = require("@apollo/client");
9250
+ var import_client88 = require("@apollo/client");
9009
9251
  var import_react = require("react");
9010
9252
  function usePaginatedList({
9011
9253
  document,
@@ -9031,7 +9273,7 @@ function usePaginatedList({
9031
9273
  setHasSettled(false);
9032
9274
  setOffset(0);
9033
9275
  }, [variablesKey, pageSize, skip]);
9034
- const { data, loading, error, refetch } = (0, import_client86.useQuery)(document, {
9276
+ const { data, loading, error, refetch } = (0, import_client88.useQuery)(document, {
9035
9277
  fetchPolicy: "network-only",
9036
9278
  skip,
9037
9279
  variables: { ...variables, options: { limit: pageSize + 1, offset } }
@@ -9657,15 +9899,19 @@ function canAccessAdminPath(roles, pathname) {
9657
9899
  ACTIVATE_VENDOR_CLAIM_MUTATION,
9658
9900
  ADMIN_APP_ROLES,
9659
9901
  ADMIN_DASHBOARD_CONTEXTS,
9902
+ AD_BOOKING_FIELDS_FRAGMENT,
9660
9903
  AFFILIATE_PARTICIPANT_TYPE_LABELS,
9661
9904
  AFFILIATE_REWARDS,
9662
9905
  ANDROID_URL,
9906
+ APPROVE_AD_BOOKING_MUTATION,
9663
9907
  BILLING_CATALOG_CURRENCY,
9664
9908
  BILLING_CATALOG_DEFINITIONS,
9665
9909
  BILLING_CATALOG_KEYS,
9910
+ CLAIM_RESERVED_AD_DAY_MUTATION,
9666
9911
  CLUEMART_MAIN_DOMAIN_URL,
9667
9912
  CM_AFFILIATE_PROMO_CODE,
9668
9913
  CM_SCHOOL_PROMO_CODE,
9914
+ CREATE_AD_CHECKOUT_MUTATION,
9669
9915
  DEFAULT_PAGE_SIZE,
9670
9916
  DEFAULT_RESOURCES_RETURN_LIMIT,
9671
9917
  DEFAULT_RESOURCES_RETURN_OFFSET,
@@ -9673,6 +9919,11 @@ function canAccessAdminPath(roles, pathname) {
9673
9919
  DEFAULT_USER_FACING_ERROR,
9674
9920
  EVENT_DATE_STATUS_PERIOD_MAP,
9675
9921
  EnumActivity,
9922
+ EnumAdApprovalStatus,
9923
+ EnumAdBookingSlotKind,
9924
+ EnumAdBookingState,
9925
+ EnumAdEntitlementSource,
9926
+ EnumAdPaymentStatus,
9676
9927
  EnumAdShowOn,
9677
9928
  EnumAdStatus,
9678
9929
  EnumAdStyle,
@@ -9708,14 +9959,20 @@ function canAccessAdminPath(roles, pathname) {
9708
9959
  EnumUserRole,
9709
9960
  EnumVendorType,
9710
9961
  EnumVerificationType,
9962
+ GET_AD_BOOKING,
9963
+ GET_AD_DAILY_PRICES,
9964
+ GET_AD_DAY_AVAILABILITY,
9965
+ GET_AD_SETTINGS,
9711
9966
  GET_EVENT,
9712
9967
  GET_EVENTS,
9713
9968
  GET_EVENT_BY_SLUG,
9714
9969
  GET_EVENT_INFO,
9970
+ GET_MY_AD_BOOKINGS,
9715
9971
  GET_OWNED_EVENT,
9716
9972
  GET_PARTNER,
9717
9973
  GET_PARTNERS,
9718
9974
  GET_PARTNER_BY_SLUG,
9975
+ GET_PENDING_AD_BOOKINGS,
9719
9976
  GET_POST,
9720
9977
  GET_POSTS,
9721
9978
  GET_POSTS_BY_TYPE,
@@ -9739,6 +9996,7 @@ function canAccessAdminPath(roles, pathname) {
9739
9996
  PROMO_CODE_PREFIX,
9740
9997
  PUBLIC_SHARE_PATH_TYPES,
9741
9998
  PostTypeLabels,
9999
+ RECORD_AD_IMPRESSION_MUTATION,
9742
10000
  RELATION_OVERLAY_LAYOUT_VERSION,
9743
10001
  RELATION_SHARE_APPLICATION,
9744
10002
  RELATION_SHARE_INVITATION,
@@ -9778,6 +10036,8 @@ function canAccessAdminPath(roles, pathname) {
9778
10036
  TIERS_BY_PRIORITY,
9779
10037
  TIER_DISPLAY_LABELS,
9780
10038
  TIER_FROM_LICENCE,
10039
+ UPDATE_AD_DAILY_PRICE_MUTATION,
10040
+ UPDATE_AD_SETTINGS_MUTATION,
9781
10041
  USER_STORAGE_KEY,
9782
10042
  WILDCARD_PERMISSION,
9783
10043
  accumulateItems,
@@ -9969,6 +10229,7 @@ function canAccessAdminPath(roles, pathname) {
9969
10229
  useAdminPermanentlyDeleteResource,
9970
10230
  useAdminResendUserVerificationEmail,
9971
10231
  useAdminUpdateResourceType,
10232
+ useAdminUpdateUserVendorLicense,
9972
10233
  useAssignAffiliateBonusReward,
9973
10234
  useAssignAffiliateResourceReward,
9974
10235
  useCancelSubscription,