@natrave/shared-entities 8.33.0 → 8.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/app-auth/index.d.ts +1 -0
  2. package/dist/app-auth/index.d.ts.map +1 -1
  3. package/dist/app-auth/index.js +1 -0
  4. package/dist/app-auth/user-localities/enums/user-locality-source.enum.d.ts +5 -0
  5. package/dist/app-auth/user-localities/enums/user-locality-source.enum.d.ts.map +1 -0
  6. package/dist/app-auth/user-localities/enums/user-locality-source.enum.js +8 -0
  7. package/dist/app-auth/user-localities/index.d.ts +3 -0
  8. package/dist/app-auth/user-localities/index.d.ts.map +1 -0
  9. package/dist/app-auth/user-localities/index.js +6 -0
  10. package/dist/app-auth/user-localities/user-locality.entity.d.ts +14 -0
  11. package/dist/app-auth/user-localities/user-locality.entity.d.ts.map +1 -0
  12. package/dist/app-auth/user-localities/user-locality.entity.js +94 -0
  13. package/dist/database-entities/index.d.ts +3 -2
  14. package/dist/database-entities/index.d.ts.map +1 -1
  15. package/dist/database-entities/index.js +19 -1
  16. package/dist/index.d.ts +1 -0
  17. package/dist/index.d.ts.map +1 -1
  18. package/dist/index.js +1 -0
  19. package/dist/promotions/enums/promotion-advertiser-entity-type.enum.d.ts +4 -0
  20. package/dist/promotions/enums/promotion-advertiser-entity-type.enum.d.ts.map +1 -0
  21. package/dist/promotions/enums/promotion-advertiser-entity-type.enum.js +7 -0
  22. package/dist/promotions/enums/promotion-creative-status.enum.d.ts +6 -0
  23. package/dist/promotions/enums/promotion-creative-status.enum.d.ts.map +1 -0
  24. package/dist/promotions/enums/promotion-creative-status.enum.js +9 -0
  25. package/dist/promotions/enums/promotion-creative-template.enum.d.ts +4 -0
  26. package/dist/promotions/enums/promotion-creative-template.enum.d.ts.map +1 -0
  27. package/dist/promotions/enums/promotion-creative-template.enum.js +7 -0
  28. package/dist/promotions/enums/promotion-event-type.enum.d.ts +7 -0
  29. package/dist/promotions/enums/promotion-event-type.enum.d.ts.map +1 -0
  30. package/dist/promotions/enums/promotion-event-type.enum.js +10 -0
  31. package/dist/promotions/enums/promotion-match-source.enum.d.ts +8 -0
  32. package/dist/promotions/enums/promotion-match-source.enum.d.ts.map +1 -0
  33. package/dist/promotions/enums/promotion-match-source.enum.js +11 -0
  34. package/dist/promotions/enums/promotion-placement.enum.d.ts +4 -0
  35. package/dist/promotions/enums/promotion-placement.enum.d.ts.map +1 -0
  36. package/dist/promotions/enums/promotion-placement.enum.js +7 -0
  37. package/dist/promotions/enums/promotion-status.enum.d.ts +7 -0
  38. package/dist/promotions/enums/promotion-status.enum.d.ts.map +1 -0
  39. package/dist/promotions/enums/promotion-status.enum.js +10 -0
  40. package/dist/promotions/enums/promotion-subject-type.enum.d.ts +4 -0
  41. package/dist/promotions/enums/promotion-subject-type.enum.d.ts.map +1 -0
  42. package/dist/promotions/enums/promotion-subject-type.enum.js +7 -0
  43. package/dist/promotions/enums/promotion-target-type.enum.d.ts +5 -0
  44. package/dist/promotions/enums/promotion-target-type.enum.d.ts.map +1 -0
  45. package/dist/promotions/enums/promotion-target-type.enum.js +8 -0
  46. package/dist/promotions/index.d.ts +18 -0
  47. package/dist/promotions/index.d.ts.map +1 -0
  48. package/dist/promotions/index.js +27 -0
  49. package/dist/promotions/promotion-advertisers/index.d.ts +2 -0
  50. package/dist/promotions/promotion-advertisers/index.d.ts.map +1 -0
  51. package/dist/promotions/promotion-advertisers/index.js +4 -0
  52. package/dist/promotions/promotion-advertisers/promotion-advertiser.entity.d.ts +15 -0
  53. package/dist/promotions/promotion-advertisers/promotion-advertiser.entity.d.ts.map +1 -0
  54. package/dist/promotions/promotion-advertisers/promotion-advertiser.entity.js +117 -0
  55. package/dist/promotions/promotion-contacts/index.d.ts +2 -0
  56. package/dist/promotions/promotion-contacts/index.d.ts.map +1 -0
  57. package/dist/promotions/promotion-contacts/index.js +4 -0
  58. package/dist/promotions/promotion-contacts/promotion-contact.entity.d.ts +14 -0
  59. package/dist/promotions/promotion-contacts/promotion-contact.entity.d.ts.map +1 -0
  60. package/dist/promotions/promotion-contacts/promotion-contact.entity.js +106 -0
  61. package/dist/promotions/promotion-creatives/index.d.ts +2 -0
  62. package/dist/promotions/promotion-creatives/index.d.ts.map +1 -0
  63. package/dist/promotions/promotion-creatives/index.js +4 -0
  64. package/dist/promotions/promotion-creatives/promotion-creative.entity.d.ts +21 -0
  65. package/dist/promotions/promotion-creatives/promotion-creative.entity.d.ts.map +1 -0
  66. package/dist/promotions/promotion-creatives/promotion-creative.entity.js +136 -0
  67. package/dist/promotions/promotion-events/index.d.ts +2 -0
  68. package/dist/promotions/promotion-events/index.d.ts.map +1 -0
  69. package/dist/promotions/promotion-events/index.js +4 -0
  70. package/dist/promotions/promotion-events/promotion-event.entity.d.ts +20 -0
  71. package/dist/promotions/promotion-events/promotion-event.entity.d.ts.map +1 -0
  72. package/dist/promotions/promotion-events/promotion-event.entity.js +135 -0
  73. package/dist/promotions/promotion-targets/index.d.ts +2 -0
  74. package/dist/promotions/promotion-targets/index.d.ts.map +1 -0
  75. package/dist/promotions/promotion-targets/index.js +4 -0
  76. package/dist/promotions/promotion-targets/promotion-target.entity.d.ts +15 -0
  77. package/dist/promotions/promotion-targets/promotion-target.entity.d.ts.map +1 -0
  78. package/dist/promotions/promotion-targets/promotion-target.entity.js +102 -0
  79. package/dist/promotions/promotion-user-states/index.d.ts +2 -0
  80. package/dist/promotions/promotion-user-states/index.d.ts.map +1 -0
  81. package/dist/promotions/promotion-user-states/index.js +4 -0
  82. package/dist/promotions/promotion-user-states/promotion-user-state.entity.d.ts +21 -0
  83. package/dist/promotions/promotion-user-states/promotion-user-state.entity.d.ts.map +1 -0
  84. package/dist/promotions/promotion-user-states/promotion-user-state.entity.js +158 -0
  85. package/dist/promotions/promotions/index.d.ts +2 -0
  86. package/dist/promotions/promotions/index.d.ts.map +1 -0
  87. package/dist/promotions/promotions/index.js +4 -0
  88. package/dist/promotions/promotions/promotion.entity.d.ts +27 -0
  89. package/dist/promotions/promotions/promotion.entity.d.ts.map +1 -0
  90. package/dist/promotions/promotions/promotion.entity.js +171 -0
  91. package/dist/promotions/types/promotion-content.types.d.ts +17 -0
  92. package/dist/promotions/types/promotion-content.types.d.ts.map +1 -0
  93. package/dist/promotions/types/promotion-content.types.js +0 -0
  94. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  export * from './password-resets';
2
2
  export * from './refresh-tokens';
3
3
  export * from './user-auth-providers';
4
+ export * from './user-localities';
4
5
  export * from './user-onboarding-intents';
5
6
  export * from './user-verifications';
6
7
  export * from './users';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app-auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/app-auth/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export * from "./password-resets/index.js";
2
2
  export * from "./refresh-tokens/index.js";
3
3
  export * from "./user-auth-providers/index.js";
4
+ export * from "./user-localities/index.js";
4
5
  export * from "./user-onboarding-intents/index.js";
5
6
  export * from "./user-verifications/index.js";
6
7
  export * from "./users/index.js";
@@ -0,0 +1,5 @@
1
+ export declare enum UserLocalitySource {
2
+ DEVICE = "DEVICE",
3
+ ONBOARDING = "ONBOARDING"
4
+ }
5
+ //# sourceMappingURL=user-locality-source.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-locality-source.enum.d.ts","sourceRoot":"","sources":["../../../../src/app-auth/user-localities/enums/user-locality-source.enum.ts"],"names":[],"mappings":"AAOA,oBAAY,kBAAkB;IAE5B,MAAM,WAAW;IAEjB,UAAU,eAAe;CAC1B"}
@@ -0,0 +1,8 @@
1
+ var UserLocalitySource = /* @__PURE__ */ ((UserLocalitySource2) => {
2
+ UserLocalitySource2["DEVICE"] = "DEVICE";
3
+ UserLocalitySource2["ONBOARDING"] = "ONBOARDING";
4
+ return UserLocalitySource2;
5
+ })(UserLocalitySource || {});
6
+ export {
7
+ UserLocalitySource
8
+ };
@@ -0,0 +1,3 @@
1
+ export { UserLocalitySource } from './enums/user-locality-source.enum';
2
+ export { UserLocality } from './user-locality.entity';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app-auth/user-localities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { UserLocalitySource } from "./enums/user-locality-source.enum.js";
2
+ import { UserLocality } from "./user-locality.entity.js";
3
+ export {
4
+ UserLocality,
5
+ UserLocalitySource
6
+ };
@@ -0,0 +1,14 @@
1
+ import { City } from '../../facilities/cities';
2
+ import { User } from '../users';
3
+ import { UserLocalitySource } from './enums/user-locality-source.enum';
4
+ export declare class UserLocality {
5
+ userId: string;
6
+ source: UserLocalitySource;
7
+ cityIbgeCode: number;
8
+ lastSeenAt: Date;
9
+ createdAt: Date;
10
+ updatedAt: Date;
11
+ user: User;
12
+ city: City;
13
+ }
14
+ //# sourceMappingURL=user-locality.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-locality.entity.d.ts","sourceRoot":"","sources":["../../../src/app-auth/user-localities/user-locality.entity.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAChC,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAmBvE,qBAGa,YAAY;IAOvB,MAAM,EAAE,MAAM,CAAC;IAQf,MAAM,EAAE,kBAAkB,CAAC;IAO3B,YAAY,EAAE,MAAM,CAAC;IAOrB,UAAU,EAAE,IAAI,CAAC;IAQjB,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,CAAC;IAShB,IAAI,EAAE,IAAI,CAAC;IAQX,IAAI,EAAE,IAAI,CAAC;CACZ"}
@@ -0,0 +1,94 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __decorateClass = (decorators, target, key, kind) => {
4
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
5
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
6
+ if (decorator = decorators[i])
7
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
8
+ if (kind && result) __defProp(target, key, result);
9
+ return result;
10
+ };
11
+ import {
12
+ Check,
13
+ Column,
14
+ CreateDateColumn,
15
+ Entity,
16
+ Index,
17
+ JoinColumn,
18
+ ManyToOne,
19
+ PrimaryColumn,
20
+ UpdateDateColumn
21
+ } from "typeorm";
22
+ import { City } from "../../facilities/cities/index.js";
23
+ import { User } from "../users/index.js";
24
+ let UserLocality = class {
25
+ };
26
+ __decorateClass([
27
+ PrimaryColumn({
28
+ name: "user_id",
29
+ type: "uuid",
30
+ primaryKeyConstraintName: "PK_user_localities",
31
+ comment: "FK users.id."
32
+ })
33
+ ], UserLocality.prototype, "userId", 2);
34
+ __decorateClass([
35
+ PrimaryColumn({
36
+ type: "varchar",
37
+ length: 16,
38
+ primaryKeyConstraintName: "PK_user_localities",
39
+ comment: "DEVICE | ONBOARDING. De onde veio a cidade."
40
+ })
41
+ ], UserLocality.prototype, "source", 2);
42
+ __decorateClass([
43
+ Column({
44
+ name: "city_ibge_code",
45
+ type: "int",
46
+ comment: "FK cities.ibge_code. Munic\xEDpio conhecido do usu\xE1rio por esta fonte."
47
+ })
48
+ ], UserLocality.prototype, "cityIbgeCode", 2);
49
+ __decorateClass([
50
+ Column({
51
+ name: "last_seen_at",
52
+ type: "timestamptz",
53
+ comment: "Quando esta fonte confirmou a cidade pela \xFAltima vez."
54
+ })
55
+ ], UserLocality.prototype, "lastSeenAt", 2);
56
+ __decorateClass([
57
+ CreateDateColumn({
58
+ name: "created_at",
59
+ type: "timestamptz",
60
+ default: () => "now()",
61
+ comment: "Data/hora de cria\xE7\xE3o do registro."
62
+ })
63
+ ], UserLocality.prototype, "createdAt", 2);
64
+ __decorateClass([
65
+ UpdateDateColumn({
66
+ name: "updated_at",
67
+ type: "timestamptz",
68
+ default: () => "now()",
69
+ comment: "Data/hora da \xFAltima altera\xE7\xE3o do registro."
70
+ })
71
+ ], UserLocality.prototype, "updatedAt", 2);
72
+ __decorateClass([
73
+ ManyToOne(() => User, { onDelete: "CASCADE" }),
74
+ JoinColumn({
75
+ name: "user_id",
76
+ foreignKeyConstraintName: "FK_user_localities_user"
77
+ })
78
+ ], UserLocality.prototype, "user", 2);
79
+ __decorateClass([
80
+ ManyToOne(() => City, { onDelete: "RESTRICT" }),
81
+ JoinColumn({
82
+ name: "city_ibge_code",
83
+ referencedColumnName: "ibgeCode",
84
+ foreignKeyConstraintName: "FK_user_localities_city"
85
+ })
86
+ ], UserLocality.prototype, "city", 2);
87
+ UserLocality = __decorateClass([
88
+ Entity("user_localities"),
89
+ Index("IDX_user_localities_city", ["cityIbgeCode"]),
90
+ Check("CHK_user_localities_source", `"source" IN ('DEVICE', 'ONBOARDING')`)
91
+ ], UserLocality);
92
+ export {
93
+ UserLocality
94
+ };
@@ -1,4 +1,4 @@
1
- import { PasswordReset, RefreshToken, User, UserAuthProvider, UserOnboardingIntent, UserVerification } from '../app-auth';
1
+ import { PasswordReset, RefreshToken, User, UserAuthProvider, UserLocality, UserOnboardingIntent, UserVerification } from '../app-auth';
2
2
  import { BillingAccount, BillingEvent, BillingInvoice, BillingInvoiceLineItem, BillingMatchUsage, BillingPayment, BillingPlan, BillingProduct, BillingProviderWebhookEvent, BillingSubscription, BillingSubscriptionGrant, BillingSubscriptionItem } from '../billing';
3
3
  import { Organization, OrganizationUser, OrganizationUserBillingInfo, PhoneNumber } from '../central-auth';
4
4
  import { Coupon, CouponUsage } from '../coupons';
@@ -9,8 +9,9 @@ import { TeamPlayerMergeHistory } from '../history-logs';
9
9
  import { Notification, NotificationDelivery, NotificationDispatchLog, PushDeviceToken, UserNotificationPreference } from '../notifications';
10
10
  import { Payment, PaymentProvider, UserPaymentProvider } from '../payments';
11
11
  import { Player, PlayerPersonalData, PlayerPosition } from '../players';
12
+ import { Promotion, PromotionAdvertiser, PromotionContact, PromotionCreative, PromotionEvent, PromotionTarget, PromotionUserState } from '../promotions';
12
13
  import { PlayerTeam, Team, TeamAccessCode, TeamFollow, TeamJoinRequest, TeamKit, TeamModality, TeamSponsor, TeamTrophy } from '../teams';
13
14
  import { CategoryBroadcastSetting, Referee, RegulationExtraction, Tournament, TournamentAllowedPhone, TournamentBillingOutbox, TournamentBracket, TournamentBracketSlot, TournamentCategoryGroup, TournamentContact, TournamentCoupon, TournamentCreationDraft, TournamentFacility, TournamentFollow, TournamentFormatConfig, TournamentGroup, TournamentGroupContact, TournamentMatch, TournamentMatchAvailability, TournamentMatchCard, TournamentMatchGoal, TournamentMatchKit, TournamentMatchObservation, TournamentMatchPlayerNumber, TournamentMatchReferee, TournamentMatchRule, TournamentMatchSchema, TournamentMatchSubstitution, TournamentMatchTimeout, TournamentPayment, TournamentPenaltyShootout, TournamentPlayer, TournamentPlayerRule, TournamentPointsAdjustment, TournamentPrizeRule, TournamentPublicationChargeRule, TournamentRegistrationRequest, TournamentRegistrationRequirement, TournamentRegulationFieldStatus, TournamentTeam, TournamentTeamInvitation, TournamentTeamMemberNote, TournamentTieBreakConfig } from '../tournaments';
14
15
  import { UserDomainEvent, UserEventView } from '../user-events';
15
- export declare const DATABASE_ENTITIES: (typeof PasswordReset | typeof Notification | typeof User | typeof NotificationDelivery | typeof NotificationDispatchLog | typeof PushDeviceToken | typeof UserNotificationPreference | typeof TeamPlayerMergeHistory | typeof Team | typeof PlayerTeam | typeof Player | typeof TournamentMatchGoal | typeof TournamentTeam | typeof TournamentMatch | typeof TournamentPlayer | typeof TournamentMatchKit | typeof TournamentMatchSubstitution | typeof TournamentMatchTimeout | typeof TournamentPenaltyShootout | typeof CategoryBroadcastSetting | typeof Tournament | typeof TournamentMatchReferee | typeof Referee | typeof RegulationExtraction | typeof TournamentAllowedPhone | typeof PhoneNumber | typeof TournamentBillingOutbox | typeof TournamentGroupContact | typeof TournamentCategoryGroup | typeof Organization | typeof TournamentContact | typeof Coupon | typeof CouponUsage | typeof TournamentCoupon | typeof TournamentCreationDraft | typeof City | typeof FacilityImage | typeof Facility | typeof FacilityOwner | typeof Field | typeof FieldImage | typeof TournamentFacility | typeof TournamentFollow | typeof TournamentFormatConfig | typeof TournamentMatchObservation | typeof TournamentMatchPlayerNumber | typeof TournamentMatchRule | typeof TournamentMatchSchema | typeof TournamentMatchAvailability | typeof UserPaymentProvider | typeof PaymentProvider | typeof Payment | typeof TournamentPayment | typeof OrganizationUser | typeof TournamentPlayerRule | typeof TournamentPointsAdjustment | typeof TournamentPrizeRule | typeof TournamentPublicationChargeRule | typeof TournamentRegistrationRequest | typeof TournamentRegistrationRequirement | typeof TournamentRegulationFieldStatus | typeof TournamentTeamInvitation | typeof TournamentTeamMemberNote | typeof TournamentTieBreakConfig | typeof Address | typeof OrganizationUserBillingInfo | typeof TournamentGroup | typeof TournamentBracket | typeof TournamentBracketSlot | typeof TeamTrophy | typeof TournamentMatchCard | typeof TeamAccessCode | typeof TeamJoinRequest | typeof TeamKit | typeof TeamModality | typeof TeamSponsor | typeof TeamFollow | typeof PlayerPosition | typeof PlayerPersonalData | typeof UserAuthProvider | typeof RefreshToken | typeof UserOnboardingIntent | typeof UserVerification | typeof BillingProduct | typeof BillingPlan | typeof BillingSubscriptionGrant | typeof BillingSubscription | typeof BillingSubscriptionItem | typeof BillingAccount | typeof BillingEvent | typeof BillingInvoice | typeof BillingInvoiceLineItem | typeof BillingMatchUsage | typeof BillingPayment | typeof BillingProviderWebhookEvent | typeof FeedActivityReaction | typeof FeedActivity | typeof FeedActivitySubject | typeof FeedOutbox | typeof FinanceAuditEvent | typeof FinanceEntryItem | typeof FinanceEntry | typeof FinanceLedger | typeof UserDomainEvent | typeof UserEventView)[];
16
+ export declare const DATABASE_ENTITIES: (typeof PasswordReset | typeof Notification | typeof User | typeof NotificationDelivery | typeof NotificationDispatchLog | typeof PushDeviceToken | typeof UserNotificationPreference | typeof TeamPlayerMergeHistory | typeof Team | typeof PlayerTeam | typeof Player | typeof TournamentMatchGoal | typeof TournamentTeam | typeof TournamentMatch | typeof TournamentPlayer | typeof TournamentMatchKit | typeof TournamentMatchSubstitution | typeof TournamentMatchTimeout | typeof TournamentPenaltyShootout | typeof CategoryBroadcastSetting | typeof Tournament | typeof TournamentMatchReferee | typeof Referee | typeof RegulationExtraction | typeof TournamentAllowedPhone | typeof PhoneNumber | typeof TournamentBillingOutbox | typeof TournamentGroupContact | typeof TournamentCategoryGroup | typeof Organization | typeof TournamentContact | typeof Coupon | typeof CouponUsage | typeof TournamentCoupon | typeof TournamentCreationDraft | typeof City | typeof FacilityImage | typeof Facility | typeof FacilityOwner | typeof Field | typeof FieldImage | typeof TournamentFacility | typeof TournamentFollow | typeof TournamentFormatConfig | typeof TournamentMatchObservation | typeof TournamentMatchPlayerNumber | typeof TournamentMatchRule | typeof TournamentMatchSchema | typeof TournamentMatchAvailability | typeof UserPaymentProvider | typeof PaymentProvider | typeof Payment | typeof TournamentPayment | typeof OrganizationUser | typeof TournamentPlayerRule | typeof TournamentPointsAdjustment | typeof TournamentPrizeRule | typeof TournamentPublicationChargeRule | typeof TournamentRegistrationRequest | typeof TournamentRegistrationRequirement | typeof TournamentRegulationFieldStatus | typeof TournamentTeamInvitation | typeof TournamentTeamMemberNote | typeof TournamentTieBreakConfig | typeof Address | typeof OrganizationUserBillingInfo | typeof TournamentGroup | typeof TournamentBracket | typeof TournamentBracketSlot | typeof TeamTrophy | typeof TournamentMatchCard | typeof TeamAccessCode | typeof TeamJoinRequest | typeof TeamKit | typeof TeamModality | typeof TeamSponsor | typeof TeamFollow | typeof PlayerPosition | typeof PlayerPersonalData | typeof UserAuthProvider | typeof RefreshToken | typeof UserLocality | typeof UserOnboardingIntent | typeof UserVerification | typeof BillingProduct | typeof BillingPlan | typeof BillingSubscriptionGrant | typeof BillingSubscription | typeof BillingSubscriptionItem | typeof BillingAccount | typeof BillingEvent | typeof BillingInvoice | typeof BillingInvoiceLineItem | typeof BillingMatchUsage | typeof BillingPayment | typeof BillingProviderWebhookEvent | typeof FeedActivityReaction | typeof FeedActivity | typeof FeedActivitySubject | typeof FeedOutbox | typeof FinanceAuditEvent | typeof FinanceEntryItem | typeof FinanceEntry | typeof FinanceLedger | typeof PromotionContact | typeof Promotion | typeof PromotionCreative | typeof PromotionTarget | typeof PromotionAdvertiser | typeof PromotionEvent | typeof PromotionUserState | typeof UserDomainEvent | typeof UserEventView)[];
16
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/database-entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,IAAI,EACJ,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,cAAc,EACd,2BAA2B,EAC3B,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,2BAA2B,EAC3B,WAAW,EACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EACL,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC9F,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC9F,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,uBAAuB,EACvB,eAAe,EACf,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,EACL,UAAU,EACV,IAAI,EACJ,cAAc,EACd,UAAU,EACV,eAAe,EACf,OAAO,EACP,YAAY,EACZ,WAAW,EACX,UAAU,EACX,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,wBAAwB,EACxB,OAAO,EACP,oBAAoB,EACpB,UAAU,EACV,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,2BAA2B,EAC3B,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,+BAA+B,EAC/B,6BAA6B,EAC7B,iCAAiC,EAEjC,+BAA+B,EAE/B,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,iBAAiB,oxFA4G7B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/database-entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,YAAY,EACZ,IAAI,EACJ,gBAAgB,EAChB,YAAY,EACZ,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,cAAc,EACd,WAAW,EACX,cAAc,EACd,2BAA2B,EAC3B,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,2BAA2B,EAC3B,WAAW,EACZ,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EACL,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,aAAa,EACb,aAAa,EACb,KAAK,EACL,UAAU,EACX,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC9F,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC9F,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,YAAY,EACZ,oBAAoB,EACpB,uBAAuB,EACvB,eAAe,EACf,0BAA0B,EAC3B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAC5E,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,EACL,SAAS,EACT,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,eAAe,EACf,kBAAkB,EACnB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,UAAU,EACV,IAAI,EACJ,cAAc,EACd,UAAU,EACV,eAAe,EACf,OAAO,EACP,YAAY,EACZ,WAAW,EACX,UAAU,EACX,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,wBAAwB,EACxB,OAAO,EACP,oBAAoB,EACpB,UAAU,EACV,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,gBAAgB,EAChB,uBAAuB,EACvB,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,eAAe,EACf,2BAA2B,EAC3B,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,2BAA2B,EAC3B,sBAAsB,EACtB,mBAAmB,EACnB,qBAAqB,EACrB,2BAA2B,EAC3B,sBAAsB,EACtB,iBAAiB,EACjB,yBAAyB,EACzB,gBAAgB,EAChB,oBAAoB,EACpB,0BAA0B,EAC1B,mBAAmB,EACnB,+BAA+B,EAC/B,6BAA6B,EAC7B,iCAAiC,EAEjC,+BAA+B,EAE/B,cAAc,EACd,wBAAwB,EACxB,wBAAwB,EACxB,wBAAwB,EACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,iBAAiB,49FAoH7B,CAAC"}
@@ -3,6 +3,7 @@ import {
3
3
  RefreshToken,
4
4
  User,
5
5
  UserAuthProvider,
6
+ UserLocality,
6
7
  UserOnboardingIntent,
7
8
  UserVerification
8
9
  } from "../app-auth/index.js";
@@ -48,6 +49,15 @@ import {
48
49
  } from "../notifications/index.js";
49
50
  import { Payment, PaymentProvider, UserPaymentProvider } from "../payments/index.js";
50
51
  import { Player, PlayerPersonalData, PlayerPosition } from "../players/index.js";
52
+ import {
53
+ Promotion,
54
+ PromotionAdvertiser,
55
+ PromotionContact,
56
+ PromotionCreative,
57
+ PromotionEvent,
58
+ PromotionTarget,
59
+ PromotionUserState
60
+ } from "../promotions/index.js";
51
61
  import {
52
62
  PlayerTeam,
53
63
  Team,
@@ -196,6 +206,13 @@ const DATABASE_ENTITIES = [
196
206
  Player,
197
207
  PlayerPersonalData,
198
208
  PlayerPosition,
209
+ PromotionAdvertiser,
210
+ Promotion,
211
+ PromotionCreative,
212
+ PromotionContact,
213
+ PromotionTarget,
214
+ PromotionUserState,
215
+ PromotionEvent,
199
216
  Team,
200
217
  TeamAccessCode,
201
218
  PlayerTeam,
@@ -214,7 +231,8 @@ const DATABASE_ENTITIES = [
214
231
  TeamFollow,
215
232
  TournamentBracketSlot,
216
233
  UserDomainEvent,
217
- UserEventView
234
+ UserEventView,
235
+ UserLocality
218
236
  ];
219
237
  export {
220
238
  DATABASE_ENTITIES
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ export * from './history-logs';
12
12
  export * from './notifications';
13
13
  export * from './payments';
14
14
  export * from './players';
15
+ export * from './promotions';
15
16
  export * from './teams';
16
17
  export * from './tournaments';
17
18
  export * from './user-events';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC"}
package/dist/index.js CHANGED
@@ -12,6 +12,7 @@ export * from "./history-logs/index.js";
12
12
  export * from "./notifications/index.js";
13
13
  export * from "./payments/index.js";
14
14
  export * from "./players/index.js";
15
+ export * from "./promotions/index.js";
15
16
  export * from "./teams/index.js";
16
17
  export * from "./tournaments/index.js";
17
18
  export * from "./user-events/index.js";
@@ -0,0 +1,4 @@
1
+ export declare enum PromotionAdvertiserEntityType {
2
+ ORGANIZATION = "ORGANIZATION"
3
+ }
4
+ //# sourceMappingURL=promotion-advertiser-entity-type.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-advertiser-entity-type.enum.d.ts","sourceRoot":"","sources":["../../../src/promotions/enums/promotion-advertiser-entity-type.enum.ts"],"names":[],"mappings":"AAIA,oBAAY,6BAA6B;IAEvC,YAAY,iBAAiB;CAC9B"}
@@ -0,0 +1,7 @@
1
+ var PromotionAdvertiserEntityType = /* @__PURE__ */ ((PromotionAdvertiserEntityType2) => {
2
+ PromotionAdvertiserEntityType2["ORGANIZATION"] = "ORGANIZATION";
3
+ return PromotionAdvertiserEntityType2;
4
+ })(PromotionAdvertiserEntityType || {});
5
+ export {
6
+ PromotionAdvertiserEntityType
7
+ };
@@ -0,0 +1,6 @@
1
+ export declare enum PromotionCreativeStatus {
2
+ ACTIVE = "ACTIVE",
3
+ PAUSED = "PAUSED",
4
+ ARCHIVED = "ARCHIVED"
5
+ }
6
+ //# sourceMappingURL=promotion-creative-status.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-creative-status.enum.d.ts","sourceRoot":"","sources":["../../../src/promotions/enums/promotion-creative-status.enum.ts"],"names":[],"mappings":"AAGA,oBAAY,uBAAuB;IAEjC,MAAM,WAAW;IAEjB,MAAM,WAAW;IAEjB,QAAQ,aAAa;CACtB"}
@@ -0,0 +1,9 @@
1
+ var PromotionCreativeStatus = /* @__PURE__ */ ((PromotionCreativeStatus2) => {
2
+ PromotionCreativeStatus2["ACTIVE"] = "ACTIVE";
3
+ PromotionCreativeStatus2["PAUSED"] = "PAUSED";
4
+ PromotionCreativeStatus2["ARCHIVED"] = "ARCHIVED";
5
+ return PromotionCreativeStatus2;
6
+ })(PromotionCreativeStatus || {});
7
+ export {
8
+ PromotionCreativeStatus
9
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum PromotionCreativeTemplate {
2
+ TOURNAMENT_POSTER = "TOURNAMENT_POSTER"
3
+ }
4
+ //# sourceMappingURL=promotion-creative-template.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-creative-template.enum.d.ts","sourceRoot":"","sources":["../../../src/promotions/enums/promotion-creative-template.enum.ts"],"names":[],"mappings":"AAQA,oBAAY,yBAAyB;IAEnC,iBAAiB,sBAAsB;CACxC"}
@@ -0,0 +1,7 @@
1
+ var PromotionCreativeTemplate = /* @__PURE__ */ ((PromotionCreativeTemplate2) => {
2
+ PromotionCreativeTemplate2["TOURNAMENT_POSTER"] = "TOURNAMENT_POSTER";
3
+ return PromotionCreativeTemplate2;
4
+ })(PromotionCreativeTemplate || {});
5
+ export {
6
+ PromotionCreativeTemplate
7
+ };
@@ -0,0 +1,7 @@
1
+ export declare enum PromotionEventType {
2
+ IMPRESSION = "IMPRESSION",
3
+ DISMISS = "DISMISS",
4
+ INTEREST = "INTEREST",
5
+ CONTACT_CLICK = "CONTACT_CLICK"
6
+ }
7
+ //# sourceMappingURL=promotion-event-type.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-event-type.enum.d.ts","sourceRoot":"","sources":["../../../src/promotions/enums/promotion-event-type.enum.ts"],"names":[],"mappings":"AAGA,oBAAY,kBAAkB;IAE5B,UAAU,eAAe;IAEzB,OAAO,YAAY;IAEnB,QAAQ,aAAa;IAErB,aAAa,kBAAkB;CAChC"}
@@ -0,0 +1,10 @@
1
+ var PromotionEventType = /* @__PURE__ */ ((PromotionEventType2) => {
2
+ PromotionEventType2["IMPRESSION"] = "IMPRESSION";
3
+ PromotionEventType2["DISMISS"] = "DISMISS";
4
+ PromotionEventType2["INTEREST"] = "INTEREST";
5
+ PromotionEventType2["CONTACT_CLICK"] = "CONTACT_CLICK";
6
+ return PromotionEventType2;
7
+ })(PromotionEventType || {});
8
+ export {
9
+ PromotionEventType
10
+ };
@@ -0,0 +1,8 @@
1
+ export declare enum PromotionMatchSource {
2
+ DEVICE = "DEVICE",
3
+ ONBOARDING = "ONBOARDING",
4
+ TEAM_MEMBER = "TEAM_MEMBER",
5
+ TEAM_FOLLOW = "TEAM_FOLLOW",
6
+ TOURNAMENT_FOLLOW = "TOURNAMENT_FOLLOW"
7
+ }
8
+ //# sourceMappingURL=promotion-match-source.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-match-source.enum.d.ts","sourceRoot":"","sources":["../../../src/promotions/enums/promotion-match-source.enum.ts"],"names":[],"mappings":"AAQA,oBAAY,oBAAoB;IAE9B,MAAM,WAAW;IAEjB,UAAU,eAAe;IAEzB,WAAW,gBAAgB;IAE3B,WAAW,gBAAgB;IAE3B,iBAAiB,sBAAsB;CACxC"}
@@ -0,0 +1,11 @@
1
+ var PromotionMatchSource = /* @__PURE__ */ ((PromotionMatchSource2) => {
2
+ PromotionMatchSource2["DEVICE"] = "DEVICE";
3
+ PromotionMatchSource2["ONBOARDING"] = "ONBOARDING";
4
+ PromotionMatchSource2["TEAM_MEMBER"] = "TEAM_MEMBER";
5
+ PromotionMatchSource2["TEAM_FOLLOW"] = "TEAM_FOLLOW";
6
+ PromotionMatchSource2["TOURNAMENT_FOLLOW"] = "TOURNAMENT_FOLLOW";
7
+ return PromotionMatchSource2;
8
+ })(PromotionMatchSource || {});
9
+ export {
10
+ PromotionMatchSource
11
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum PromotionPlacement {
2
+ HOME_MODAL = "HOME_MODAL"
3
+ }
4
+ //# sourceMappingURL=promotion-placement.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-placement.enum.d.ts","sourceRoot":"","sources":["../../../src/promotions/enums/promotion-placement.enum.ts"],"names":[],"mappings":"AAOA,oBAAY,kBAAkB;IAE5B,UAAU,eAAe;CAC1B"}
@@ -0,0 +1,7 @@
1
+ var PromotionPlacement = /* @__PURE__ */ ((PromotionPlacement2) => {
2
+ PromotionPlacement2["HOME_MODAL"] = "HOME_MODAL";
3
+ return PromotionPlacement2;
4
+ })(PromotionPlacement || {});
5
+ export {
6
+ PromotionPlacement
7
+ };
@@ -0,0 +1,7 @@
1
+ export declare enum PromotionStatus {
2
+ DRAFT = "DRAFT",
3
+ ACTIVE = "ACTIVE",
4
+ PAUSED = "PAUSED",
5
+ ENDED = "ENDED"
6
+ }
7
+ //# sourceMappingURL=promotion-status.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-status.enum.d.ts","sourceRoot":"","sources":["../../../src/promotions/enums/promotion-status.enum.ts"],"names":[],"mappings":"AAQA,oBAAY,eAAe;IAEzB,KAAK,UAAU;IAEf,MAAM,WAAW;IAEjB,MAAM,WAAW;IAEjB,KAAK,UAAU;CAChB"}
@@ -0,0 +1,10 @@
1
+ var PromotionStatus = /* @__PURE__ */ ((PromotionStatus2) => {
2
+ PromotionStatus2["DRAFT"] = "DRAFT";
3
+ PromotionStatus2["ACTIVE"] = "ACTIVE";
4
+ PromotionStatus2["PAUSED"] = "PAUSED";
5
+ PromotionStatus2["ENDED"] = "ENDED";
6
+ return PromotionStatus2;
7
+ })(PromotionStatus || {});
8
+ export {
9
+ PromotionStatus
10
+ };
@@ -0,0 +1,4 @@
1
+ export declare enum PromotionSubjectType {
2
+ TOURNAMENT = "TOURNAMENT"
3
+ }
4
+ //# sourceMappingURL=promotion-subject-type.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-subject-type.enum.d.ts","sourceRoot":"","sources":["../../../src/promotions/enums/promotion-subject-type.enum.ts"],"names":[],"mappings":"AAOA,oBAAY,oBAAoB;IAE9B,UAAU,eAAe;CAC1B"}
@@ -0,0 +1,7 @@
1
+ var PromotionSubjectType = /* @__PURE__ */ ((PromotionSubjectType2) => {
2
+ PromotionSubjectType2["TOURNAMENT"] = "TOURNAMENT";
3
+ return PromotionSubjectType2;
4
+ })(PromotionSubjectType || {});
5
+ export {
6
+ PromotionSubjectType
7
+ };
@@ -0,0 +1,5 @@
1
+ export declare enum PromotionTargetType {
2
+ CITY = "CITY",
3
+ STATE = "STATE"
4
+ }
5
+ //# sourceMappingURL=promotion-target-type.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-target-type.enum.d.ts","sourceRoot":"","sources":["../../../src/promotions/enums/promotion-target-type.enum.ts"],"names":[],"mappings":"AAIA,oBAAY,mBAAmB;IAE7B,IAAI,SAAS;IAEb,KAAK,UAAU;CAChB"}
@@ -0,0 +1,8 @@
1
+ var PromotionTargetType = /* @__PURE__ */ ((PromotionTargetType2) => {
2
+ PromotionTargetType2["CITY"] = "CITY";
3
+ PromotionTargetType2["STATE"] = "STATE";
4
+ return PromotionTargetType2;
5
+ })(PromotionTargetType || {});
6
+ export {
7
+ PromotionTargetType
8
+ };
@@ -0,0 +1,18 @@
1
+ export { PromotionAdvertiserEntityType } from './enums/promotion-advertiser-entity-type.enum';
2
+ export { PromotionCreativeStatus } from './enums/promotion-creative-status.enum';
3
+ export { PromotionCreativeTemplate } from './enums/promotion-creative-template.enum';
4
+ export { PromotionEventType } from './enums/promotion-event-type.enum';
5
+ export { PromotionMatchSource } from './enums/promotion-match-source.enum';
6
+ export { PromotionPlacement } from './enums/promotion-placement.enum';
7
+ export { PromotionStatus } from './enums/promotion-status.enum';
8
+ export { PromotionSubjectType } from './enums/promotion-subject-type.enum';
9
+ export { PromotionTargetType } from './enums/promotion-target-type.enum';
10
+ export * from './promotion-advertisers';
11
+ export * from './promotion-contacts';
12
+ export * from './promotion-creatives';
13
+ export * from './promotion-events';
14
+ export * from './promotion-targets';
15
+ export * from './promotion-user-states';
16
+ export * from './promotions';
17
+ export type { PromotionCreativeContent, PromotionCreativeContentByTemplate, TournamentPosterContent, } from './types/promotion-content.types';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/promotions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,+CAA+C,CAAC;AAC9F,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,YAAY,EACV,wBAAwB,EACxB,kCAAkC,EAClC,uBAAuB,GACxB,MAAM,iCAAiC,CAAC"}
@@ -0,0 +1,27 @@
1
+ import { PromotionAdvertiserEntityType } from "./enums/promotion-advertiser-entity-type.enum.js";
2
+ import { PromotionCreativeStatus } from "./enums/promotion-creative-status.enum.js";
3
+ import { PromotionCreativeTemplate } from "./enums/promotion-creative-template.enum.js";
4
+ import { PromotionEventType } from "./enums/promotion-event-type.enum.js";
5
+ import { PromotionMatchSource } from "./enums/promotion-match-source.enum.js";
6
+ import { PromotionPlacement } from "./enums/promotion-placement.enum.js";
7
+ import { PromotionStatus } from "./enums/promotion-status.enum.js";
8
+ import { PromotionSubjectType } from "./enums/promotion-subject-type.enum.js";
9
+ import { PromotionTargetType } from "./enums/promotion-target-type.enum.js";
10
+ export * from "./promotion-advertisers/index.js";
11
+ export * from "./promotion-contacts/index.js";
12
+ export * from "./promotion-creatives/index.js";
13
+ export * from "./promotion-events/index.js";
14
+ export * from "./promotion-targets/index.js";
15
+ export * from "./promotion-user-states/index.js";
16
+ export * from "./promotions/index.js";
17
+ export {
18
+ PromotionAdvertiserEntityType,
19
+ PromotionCreativeStatus,
20
+ PromotionCreativeTemplate,
21
+ PromotionEventType,
22
+ PromotionMatchSource,
23
+ PromotionPlacement,
24
+ PromotionStatus,
25
+ PromotionSubjectType,
26
+ PromotionTargetType
27
+ };
@@ -0,0 +1,2 @@
1
+ export { PromotionAdvertiser } from './promotion-advertiser.entity';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/promotions/promotion-advertisers/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { PromotionAdvertiser } from "./promotion-advertiser.entity.js";
2
+ export {
3
+ PromotionAdvertiser
4
+ };
@@ -0,0 +1,15 @@
1
+ import { PromotionAdvertiserEntityType } from '../enums/promotion-advertiser-entity-type.enum';
2
+ import { Promotion } from '../promotions/promotion.entity';
3
+ export declare class PromotionAdvertiser {
4
+ id: string;
5
+ name: string;
6
+ entityType: PromotionAdvertiserEntityType | null;
7
+ entityId: string | null;
8
+ contactName: string | null;
9
+ contactEmail: string | null;
10
+ contactPhone: string | null;
11
+ createdAt: Date;
12
+ updatedAt: Date;
13
+ promotions: Promotion[];
14
+ }
15
+ //# sourceMappingURL=promotion-advertiser.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"promotion-advertiser.entity.d.ts","sourceRoot":"","sources":["../../../src/promotions/promotion-advertisers/promotion-advertiser.entity.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,6BAA6B,EAAE,MAAM,gDAAgD,CAAC;AAC/F,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAgB3D,qBAca,mBAAmB;IAK9B,EAAE,EAAE,MAAM,CAAC;IAOX,IAAI,EAAE,MAAM,CAAC;IAUb,UAAU,EAAE,6BAA6B,GAAG,IAAI,CAAC;IAQjD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IASxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAS3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAS5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAQ5B,SAAS,EAAE,IAAI,CAAC;IAQhB,SAAS,EAAE,IAAI,CAAC;IAKhB,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB"}