@wrcb/cb-common 1.0.365 → 1.0.368

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.
package/build/index.d.ts CHANGED
@@ -13,5 +13,8 @@ export * from './types/bankAccountType';
13
13
  export * from './types/bankList';
14
14
  export * from './types/couponType';
15
15
  export * from './types/tenant';
16
+ export * from './types/userTags';
17
+ export * from './types/userCategory';
18
+ export * from './types/productTypes';
16
19
  export * from './events/subjects';
17
20
  export * from './services/TenantDataService';
package/build/index.js CHANGED
@@ -29,5 +29,8 @@ __exportStar(require("./types/bankAccountType"), exports);
29
29
  __exportStar(require("./types/bankList"), exports);
30
30
  __exportStar(require("./types/couponType"), exports);
31
31
  __exportStar(require("./types/tenant"), exports);
32
+ __exportStar(require("./types/userTags"), exports);
33
+ __exportStar(require("./types/userCategory"), exports);
34
+ __exportStar(require("./types/productTypes"), exports);
32
35
  __exportStar(require("./events/subjects"), exports);
33
36
  __exportStar(require("./services/TenantDataService"), exports);
@@ -1,7 +1,12 @@
1
- import { TargetType } from '../types/targetType';
2
1
  import { CouponType } from '../types/couponType';
3
2
  import { Tenant } from '../types/tenant';
4
3
  import { UserCategory } from 'src/types/userCategory';
4
+ import { UserTags } from 'src/types/userTags';
5
+ import { ProductTypes } from 'src/types/productTypes';
6
+ export interface CategoryConfiguration {
7
+ allowedTags: UserTags[];
8
+ allowedProducts: ProductTypes[];
9
+ }
5
10
  export interface TenantData {
6
11
  TENANT: Tenant;
7
12
  SITE_NAME: string;
@@ -12,8 +17,7 @@ export interface TenantData {
12
17
  SOCIAL_YOUTUBE: string;
13
18
  SOCIAL_INSTAGRAM: string;
14
19
  SOCIAL_FACEBOOK: string;
15
- SELLER_TARGETS: TargetType[];
16
- USER_CATEGORY: UserCategory[];
20
+ USER_CATEGORIES_CONFIG: Partial<Record<UserCategory, CategoryConfiguration>>;
17
21
  COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_SELLER: CouponType[];
18
22
  COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_ADMIN: CouponType[];
19
23
  EMAIL_HOST: string;
@@ -28,4 +32,12 @@ export interface TenantData {
28
32
  export declare class TenantDataService {
29
33
  private static tenantDataMap;
30
34
  static getTenantData(tenant: Tenant): TenantData;
35
+ static getCategoriesForTenant(tenant: Tenant): UserCategory[];
36
+ static getCategoryConfig(tenant: Tenant, category: UserCategory): CategoryConfiguration | undefined;
37
+ static isTagAllowedForCategory(tenant: Tenant, category: UserCategory, tag: UserTags): boolean;
38
+ static isProductAllowedForCategory(tenant: Tenant, category: UserCategory, product: ProductTypes): boolean;
39
+ static getTagsForCategory(tenant: Tenant, category: UserCategory): UserTags[];
40
+ static getProductsForCategory(tenant: Tenant, category: UserCategory): ProductTypes[];
41
+ static getAllProductsForTenant(tenant: Tenant): ProductTypes[];
42
+ static getAllTagsForTenant(tenant: Tenant): UserTags[];
31
43
  }
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TenantDataService = void 0;
4
- const targetType_1 = require("../types/targetType");
5
4
  const couponType_1 = require("../types/couponType");
6
5
  const tenant_1 = require("../types/tenant");
7
6
  const userCategory_1 = require("src/types/userCategory");
7
+ const userTags_1 = require("src/types/userTags");
8
+ const productTypes_1 = require("src/types/productTypes");
8
9
  class TenantDataService {
10
+ // Métodos existentes
9
11
  static getTenantData(tenant) {
10
12
  const data = this.tenantDataMap[tenant];
11
13
  if (!data) {
@@ -13,11 +15,53 @@ class TenantDataService {
13
15
  }
14
16
  return data;
15
17
  }
18
+ // Novos métodos utilitários
19
+ static getCategoriesForTenant(tenant) {
20
+ const data = this.getTenantData(tenant);
21
+ return Object.keys(data.USER_CATEGORIES_CONFIG);
22
+ }
23
+ static getCategoryConfig(tenant, category) {
24
+ const data = this.getTenantData(tenant);
25
+ return data.USER_CATEGORIES_CONFIG[category];
26
+ }
27
+ static isTagAllowedForCategory(tenant, category, tag) {
28
+ const config = this.getCategoryConfig(tenant, category);
29
+ return config ? config.allowedTags.includes(tag) : false;
30
+ }
31
+ static isProductAllowedForCategory(tenant, category, product) {
32
+ const config = this.getCategoryConfig(tenant, category);
33
+ return config ? config.allowedProducts.includes(product) : false;
34
+ }
35
+ static getTagsForCategory(tenant, category) {
36
+ const config = this.getCategoryConfig(tenant, category);
37
+ return config ? config.allowedTags : [];
38
+ }
39
+ static getProductsForCategory(tenant, category) {
40
+ const config = this.getCategoryConfig(tenant, category);
41
+ return config ? config.allowedProducts : [];
42
+ }
43
+ // Obtém todos os produtos únicos disponíveis em um tenant
44
+ static getAllProductsForTenant(tenant) {
45
+ const data = this.getTenantData(tenant);
46
+ const allProducts = new Set();
47
+ Object.values(data.USER_CATEGORIES_CONFIG).forEach(config => {
48
+ config.allowedProducts.forEach(product => allProducts.add(product));
49
+ });
50
+ return Array.from(allProducts);
51
+ }
52
+ // Obtém todas as tags únicas disponíveis em um tenant
53
+ static getAllTagsForTenant(tenant) {
54
+ const data = this.getTenantData(tenant);
55
+ const allTags = new Set();
56
+ Object.values(data.USER_CATEGORIES_CONFIG).forEach(config => {
57
+ config.allowedTags.forEach(tag => allTags.add(tag));
58
+ });
59
+ return Array.from(allTags);
60
+ }
16
61
  }
17
62
  exports.TenantDataService = TenantDataService;
18
63
  TenantDataService.tenantDataMap = {
19
64
  [tenant_1.Tenant.PoliticaBet]: {
20
- // NATS_CLUSTER_ID: 'criptobet-cluster',
21
65
  TENANT: tenant_1.Tenant.PoliticaBet,
22
66
  SITE_NAME: 'Bet',
23
67
  SITE_URL: 'https://criptobet.dev',
@@ -27,8 +71,9 @@ TenantDataService.tenantDataMap = {
27
71
  SOCIAL_YOUTUBE: 'https://youtube.com',
28
72
  SOCIAL_INSTAGRAM: 'https://instagram.com',
29
73
  SOCIAL_FACEBOOK: 'https://facebook.com',
30
- SELLER_TARGETS: [targetType_1.TargetType.Bet],
31
- USER_CATEGORY: [],
74
+ USER_CATEGORIES_CONFIG: {
75
+ // Defina aqui as categorias específicas para PoliticaBet se houver
76
+ },
32
77
  COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_SELLER: [],
33
78
  COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_ADMIN: [
34
79
  couponType_1.CouponType.DepositBonus,
@@ -44,7 +89,6 @@ TenantDataService.tenantDataMap = {
44
89
  GOOGLE_VERIFICATION: 'MxMj1CaliRbJ6G7cp0eIYXug0QF6hyugQ1P74T6sCzc'
45
90
  },
46
91
  [tenant_1.Tenant.TourismApp]: {
47
- // NATS_CLUSTER_ID: 'tourism-cluster',
48
92
  TENANT: tenant_1.Tenant.TourismApp,
49
93
  SITE_NAME: 'Tourism Site',
50
94
  SITE_URL: 'https://tourism.dev',
@@ -54,18 +98,44 @@ TenantDataService.tenantDataMap = {
54
98
  SOCIAL_YOUTUBE: 'https://youtube.com/outro',
55
99
  SOCIAL_INSTAGRAM: 'https://instagram.com/outro',
56
100
  SOCIAL_FACEBOOK: 'https://facebook.com/outro',
57
- SELLER_TARGETS: [
58
- targetType_1.TargetType.BookTable,
59
- targetType_1.TargetType.Tour,
60
- targetType_1.TargetType.Wheelbarrow,
61
- targetType_1.TargetType.Event,
62
- targetType_1.TargetType.Show,
63
- targetType_1.TargetType.Transfer,
64
- targetType_1.TargetType.DayUse,
65
- targetType_1.TargetType.Photographer,
66
- targetType_1.TargetType.TourGuide
67
- ],
68
- USER_CATEGORY: [],
101
+ USER_CATEGORIES_CONFIG: {
102
+ [userCategory_1.UserCategory.Tour]: {
103
+ allowedTags: userTags_1.TOUR_TAGS,
104
+ allowedProducts: productTypes_1.TOUR_PRODUCTS
105
+ },
106
+ [userCategory_1.UserCategory.Restaurant]: {
107
+ allowedTags: userTags_1.RESTAURANT_TAGS,
108
+ allowedProducts: productTypes_1.RESTAURANT_PRODUCTS
109
+ },
110
+ [userCategory_1.UserCategory.Wheelbarrow]: {
111
+ allowedTags: [],
112
+ allowedProducts: productTypes_1.SERVICE_PRODUCTS
113
+ },
114
+ [userCategory_1.UserCategory.Photographer]: {
115
+ allowedTags: userTags_1.PHOTOGRAPHER_TAGS,
116
+ allowedProducts: productTypes_1.PHOTOGRAPHER_PRODUCTS
117
+ },
118
+ [userCategory_1.UserCategory.DayUse]: {
119
+ allowedTags: [],
120
+ allowedProducts: productTypes_1.DAY_USE_PRODUCTS
121
+ },
122
+ [userCategory_1.UserCategory.Transfer]: {
123
+ allowedTags: userTags_1.TRANSFER_TAGS,
124
+ allowedProducts: productTypes_1.TRANSFER_PRODUCTS
125
+ },
126
+ [userCategory_1.UserCategory.TourGuide]: {
127
+ allowedTags: [],
128
+ allowedProducts: productTypes_1.TOUR_GUIDE_PRODUCTS
129
+ },
130
+ [userCategory_1.UserCategory.Show]: {
131
+ allowedTags: userTags_1.SHOW_TAGS,
132
+ allowedProducts: productTypes_1.SHOW_PRODUCTS
133
+ },
134
+ [userCategory_1.UserCategory.Event]: {
135
+ allowedTags: userTags_1.EVENT_TAGS,
136
+ allowedProducts: productTypes_1.EVENT_PRODUCTS
137
+ }
138
+ },
69
139
  COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_SELLER: [
70
140
  couponType_1.CouponType.FixedValue,
71
141
  couponType_1.CouponType.Percentage
@@ -84,7 +154,6 @@ TenantDataService.tenantDataMap = {
84
154
  GOOGLE_VERIFICATION: ''
85
155
  },
86
156
  [tenant_1.Tenant.PrivateShow]: {
87
- // NATS_CLUSTER_ID: 'mentorzinho-cluster',
88
157
  TENANT: tenant_1.Tenant.PrivateShow,
89
158
  SITE_NAME: 'PrivateShow',
90
159
  SITE_URL: 'https://privateshow.com.br',
@@ -94,78 +163,20 @@ TenantDataService.tenantDataMap = {
94
163
  SOCIAL_YOUTUBE: 'https://youtube.com/privateshow',
95
164
  SOCIAL_INSTAGRAM: 'https://instagram.com/privateshow',
96
165
  SOCIAL_FACEBOOK: 'https://facebook.com/privateshow',
97
- SELLER_TARGETS: [
98
- targetType_1.TargetType.VideoBook,
99
- targetType_1.TargetType.Live,
100
- targetType_1.TargetType.PhotoBook
101
- ],
102
- USER_CATEGORY: [
103
- userCategory_1.UserCategory.Couple,
104
- userCategory_1.UserCategory.Group,
105
- userCategory_1.UserCategory.BBW,
106
- userCategory_1.UserCategory.Slim,
107
- userCategory_1.UserCategory.Athletic,
108
- userCategory_1.UserCategory.Petite,
109
- userCategory_1.UserCategory.Curvy,
110
- userCategory_1.UserCategory.Muscle,
111
- userCategory_1.UserCategory.Mature,
112
- userCategory_1.UserCategory.Teen18Plus,
113
- userCategory_1.UserCategory.Feet,
114
- userCategory_1.UserCategory.BDSM,
115
- userCategory_1.UserCategory.Roleplay,
116
- userCategory_1.UserCategory.JOI,
117
- userCategory_1.UserCategory.SPH,
118
- userCategory_1.UserCategory.Findom,
119
- userCategory_1.UserCategory.Domination,
120
- userCategory_1.UserCategory.Submission,
121
- userCategory_1.UserCategory.DirtyTalk,
122
- userCategory_1.UserCategory.Voyeur,
123
- userCategory_1.UserCategory.Cuckold,
124
- userCategory_1.UserCategory.ASMR,
125
- userCategory_1.UserCategory.Solo,
126
- userCategory_1.UserCategory.InteractiveToys,
127
- userCategory_1.UserCategory.OilShow,
128
- userCategory_1.UserCategory.Striptease,
129
- userCategory_1.UserCategory.Dancing,
130
- userCategory_1.UserCategory.Shower,
131
- userCategory_1.UserCategory.Outdoor,
132
- userCategory_1.UserCategory.Cosplay,
133
- userCategory_1.UserCategory.Smoking,
134
- userCategory_1.UserCategory.Toys,
135
- userCategory_1.UserCategory.Anal,
136
- userCategory_1.UserCategory.Fingering,
137
- userCategory_1.UserCategory.Oral,
138
- userCategory_1.UserCategory.DP,
139
- userCategory_1.UserCategory.Squirt,
140
- userCategory_1.UserCategory.ShowerShow,
141
- userCategory_1.UserCategory.Tattooed,
142
- userCategory_1.UserCategory.Pierced,
143
- userCategory_1.UserCategory.Shaved,
144
- userCategory_1.UserCategory.Natural,
145
- userCategory_1.UserCategory.Hairy,
146
- userCategory_1.UserCategory.Pregnant,
147
- userCategory_1.UserCategory.Lactating,
148
- userCategory_1.UserCategory.MILF,
149
- userCategory_1.UserCategory.GILF,
150
- userCategory_1.UserCategory.Ebony,
151
- userCategory_1.UserCategory.Asian,
152
- userCategory_1.UserCategory.Latina,
153
- userCategory_1.UserCategory.White,
154
- userCategory_1.UserCategory.Arab,
155
- userCategory_1.UserCategory.Indian,
156
- userCategory_1.UserCategory.Blonde,
157
- userCategory_1.UserCategory.Brunette,
158
- userCategory_1.UserCategory.Redhead,
159
- userCategory_1.UserCategory.Gamer,
160
- userCategory_1.UserCategory.Student,
161
- userCategory_1.UserCategory.Nurse,
162
- userCategory_1.UserCategory.Maid,
163
- userCategory_1.UserCategory.Teacher,
164
- userCategory_1.UserCategory.Secretary,
165
- userCategory_1.UserCategory.Nympho,
166
- userCategory_1.UserCategory.New,
167
- userCategory_1.UserCategory.Verified
168
- ],
166
+ USER_CATEGORIES_CONFIG: {
167
+ [userCategory_1.UserCategory.Male]: {
168
+ allowedTags: userTags_1.PRIVATE_SHOW_COMMON_TAGS,
169
+ allowedProducts: productTypes_1.PRIVATE_SHOW_PRODUCTS
170
+ },
171
+ [userCategory_1.UserCategory.Female]: {
172
+ allowedTags: userTags_1.PRIVATE_SHOW_COMMON_TAGS,
173
+ allowedProducts: productTypes_1.PRIVATE_SHOW_PRODUCTS
174
+ },
175
+ [userCategory_1.UserCategory.Trans]: {
176
+ allowedTags: userTags_1.PRIVATE_SHOW_COMMON_TAGS,
177
+ allowedProducts: productTypes_1.PRIVATE_SHOW_PRODUCTS
178
+ }
179
+ },
169
180
  COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_SELLER: [],
170
181
  COUPONS_TYPE_ALLOWED_TO_BE_CREATED_BY_ADMIN: [
171
182
  couponType_1.CouponType.DepositBonus,
@@ -0,0 +1,23 @@
1
+ export declare enum ProductTypes {
2
+ Tour = "Tour",
3
+ BookTable = "BookTable",
4
+ BookService = "BookService",
5
+ BookPhotographer = "BookPhotographer",
6
+ BookDayUse = "BookDayUse",
7
+ BookTransfer = "BookTransfer",
8
+ BookTourGuide = "BookTourGuide",
9
+ SellTickets = "SellTickets",
10
+ Live = "Live",
11
+ Photos = "Photos",
12
+ Videos = "Videos"
13
+ }
14
+ export declare const TOUR_PRODUCTS: ProductTypes[];
15
+ export declare const RESTAURANT_PRODUCTS: ProductTypes[];
16
+ export declare const PHOTOGRAPHER_PRODUCTS: ProductTypes[];
17
+ export declare const TRANSFER_PRODUCTS: ProductTypes[];
18
+ export declare const SHOW_PRODUCTS: ProductTypes[];
19
+ export declare const EVENT_PRODUCTS: ProductTypes[];
20
+ export declare const DAY_USE_PRODUCTS: ProductTypes[];
21
+ export declare const TOUR_GUIDE_PRODUCTS: ProductTypes[];
22
+ export declare const SERVICE_PRODUCTS: ProductTypes[];
23
+ export declare const PRIVATE_SHOW_PRODUCTS: ProductTypes[];
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PRIVATE_SHOW_PRODUCTS = exports.SERVICE_PRODUCTS = exports.TOUR_GUIDE_PRODUCTS = exports.DAY_USE_PRODUCTS = exports.EVENT_PRODUCTS = exports.SHOW_PRODUCTS = exports.TRANSFER_PRODUCTS = exports.PHOTOGRAPHER_PRODUCTS = exports.RESTAURANT_PRODUCTS = exports.TOUR_PRODUCTS = exports.ProductTypes = void 0;
4
+ var ProductTypes;
5
+ (function (ProductTypes) {
6
+ // Tourism
7
+ ProductTypes["Tour"] = "Tour";
8
+ ProductTypes["BookTable"] = "BookTable";
9
+ ProductTypes["BookService"] = "BookService";
10
+ ProductTypes["BookPhotographer"] = "BookPhotographer";
11
+ ProductTypes["BookDayUse"] = "BookDayUse";
12
+ ProductTypes["BookTransfer"] = "BookTransfer";
13
+ ProductTypes["BookTourGuide"] = "BookTourGuide";
14
+ ProductTypes["SellTickets"] = "SellTickets";
15
+ // PrivateShow
16
+ ProductTypes["Live"] = "Live";
17
+ ProductTypes["Photos"] = "Photos";
18
+ ProductTypes["Videos"] = "Videos";
19
+ })(ProductTypes || (exports.ProductTypes = ProductTypes = {}));
20
+ exports.TOUR_PRODUCTS = [ProductTypes.Tour];
21
+ exports.RESTAURANT_PRODUCTS = [ProductTypes.BookTable];
22
+ exports.PHOTOGRAPHER_PRODUCTS = [ProductTypes.BookPhotographer];
23
+ exports.TRANSFER_PRODUCTS = [ProductTypes.BookTransfer];
24
+ exports.SHOW_PRODUCTS = [ProductTypes.SellTickets];
25
+ exports.EVENT_PRODUCTS = [ProductTypes.SellTickets];
26
+ exports.DAY_USE_PRODUCTS = [ProductTypes.BookDayUse];
27
+ exports.TOUR_GUIDE_PRODUCTS = [ProductTypes.BookTourGuide];
28
+ exports.SERVICE_PRODUCTS = [ProductTypes.BookService];
29
+ exports.PRIVATE_SHOW_PRODUCTS = [
30
+ ProductTypes.Live,
31
+ ProductTypes.Photos,
32
+ ProductTypes.Videos
33
+ ];
@@ -1,67 +1,14 @@
1
1
  export declare enum UserCategory {
2
- Couple = "Casal",
3
- Group = "Grupo",
4
- BBW = "Gordinha",
5
- Slim = "Magra",
6
- Athletic = "Atl\u00E9tica",
7
- Petite = "Pequena",
8
- Curvy = "Curvil\u00EDnea",
9
- Muscle = "Musculosa",
10
- Mature = "Madura",
11
- Teen18Plus = "18+",
12
- Feet = "P\u00E9s",
13
- BDSM = "BDSM",
14
- Roleplay = "Fantasias",
15
- JOI = "JOI (Instru\u00E7\u00E3o)",
16
- SPH = "Humilha\u00E7\u00E3o de Tamanho",
17
- Findom = "Domina\u00E7\u00E3o Financeira",
18
- Domination = "Domina\u00E7\u00E3o",
19
- Submission = "Submiss\u00E3o",
20
- DirtyTalk = "Conversas Sujas",
21
- Voyeur = "Voyeur",
22
- Cuckold = "Cuckold",
23
- ASMR = "ASMR",
24
- Solo = "Solo",
25
- InteractiveToys = "Brinquedos Interativos",
26
- OilShow = "Show com \u00D3leo",
27
- Striptease = "Striptease",
28
- Dancing = "Dan\u00E7ando",
29
- Shower = "Banho ao Vivo",
30
- Outdoor = "Ao Ar Livre",
31
- Cosplay = "Cosplay",
32
- Smoking = "Fumando",
33
- Toys = "Brinquedos",
34
- Anal = "Anal",
35
- Fingering = "Dedilhando",
36
- Oral = "Oral",
37
- DP = "Dupla Penetra\u00E7\u00E3o",
38
- Squirt = "Squirt",
39
- ShowerShow = "Banho Sensual",
40
- Tattooed = "Tatuada",
41
- Pierced = "Piercing",
42
- Shaved = "Depilada",
43
- Natural = "Natural",
44
- Hairy = "Peluda",
45
- Pregnant = "Gr\u00E1vida",
46
- Lactating = "Lactante",
47
- MILF = "MILF",
48
- GILF = "GILF",
49
- Ebony = "Negra",
50
- Asian = "Asi\u00E1tica",
51
- Latina = "Latina",
52
- White = "Branca",
53
- Arab = "\u00C1rabe",
54
- Indian = "Indiana",
55
- Blonde = "Loira",
56
- Brunette = "Morena",
57
- Redhead = "Ruiva",
58
- Gamer = "Gamer",
59
- Student = "Estudante",
60
- Nurse = "Enfermeira",
61
- Maid = "Empregada",
62
- Teacher = "Professora",
63
- Secretary = "Secret\u00E1ria",
64
- Nympho = "Ninfoman\u00EDaca",
65
- New = "Nova",
66
- Verified = "Verificada"
2
+ Male = "Homem",
3
+ Female = "Mulher",
4
+ Trans = "Trans",
5
+ Tour = "Tour",
6
+ Restaurant = "Restaurant",
7
+ Wheelbarrow = "Wheelbarrow",
8
+ Photographer = "Photographer",
9
+ DayUse = "DayUse",
10
+ Transfer = "Transfer",
11
+ TourGuide = "TourGuide",
12
+ Show = "Show",
13
+ Event = "Event"
67
14
  }
@@ -4,74 +4,17 @@ exports.UserCategory = void 0;
4
4
  var UserCategory;
5
5
  (function (UserCategory) {
6
6
  // Private show
7
- // Corpo / Aparência
8
- UserCategory["Couple"] = "Casal";
9
- UserCategory["Group"] = "Grupo";
10
- UserCategory["BBW"] = "Gordinha";
11
- UserCategory["Slim"] = "Magra";
12
- UserCategory["Athletic"] = "Atl\u00E9tica";
13
- UserCategory["Petite"] = "Pequena";
14
- UserCategory["Curvy"] = "Curvil\u00EDnea";
15
- UserCategory["Muscle"] = "Musculosa";
16
- UserCategory["Mature"] = "Madura";
17
- UserCategory["Teen18Plus"] = "18+";
18
- // Fetiches
19
- UserCategory["Feet"] = "P\u00E9s";
20
- UserCategory["BDSM"] = "BDSM";
21
- UserCategory["Roleplay"] = "Fantasias";
22
- UserCategory["JOI"] = "JOI (Instru\u00E7\u00E3o)";
23
- UserCategory["SPH"] = "Humilha\u00E7\u00E3o de Tamanho";
24
- UserCategory["Findom"] = "Domina\u00E7\u00E3o Financeira";
25
- UserCategory["Domination"] = "Domina\u00E7\u00E3o";
26
- UserCategory["Submission"] = "Submiss\u00E3o";
27
- UserCategory["DirtyTalk"] = "Conversas Sujas";
28
- UserCategory["Voyeur"] = "Voyeur";
29
- UserCategory["Cuckold"] = "Cuckold";
30
- UserCategory["ASMR"] = "ASMR";
31
- // Estilo de Show
32
- UserCategory["Solo"] = "Solo";
33
- UserCategory["InteractiveToys"] = "Brinquedos Interativos";
34
- UserCategory["OilShow"] = "Show com \u00D3leo";
35
- UserCategory["Striptease"] = "Striptease";
36
- UserCategory["Dancing"] = "Dan\u00E7ando";
37
- UserCategory["Shower"] = "Banho ao Vivo";
38
- UserCategory["Outdoor"] = "Ao Ar Livre";
39
- UserCategory["Cosplay"] = "Cosplay";
40
- UserCategory["Smoking"] = "Fumando";
41
- UserCategory["Toys"] = "Brinquedos";
42
- UserCategory["Anal"] = "Anal";
43
- UserCategory["Fingering"] = "Dedilhando";
44
- UserCategory["Oral"] = "Oral";
45
- UserCategory["DP"] = "Dupla Penetra\u00E7\u00E3o";
46
- UserCategory["Squirt"] = "Squirt";
47
- UserCategory["ShowerShow"] = "Banho Sensual";
48
- // Outros
49
- UserCategory["Tattooed"] = "Tatuada";
50
- UserCategory["Pierced"] = "Piercing";
51
- UserCategory["Shaved"] = "Depilada";
52
- UserCategory["Natural"] = "Natural";
53
- UserCategory["Hairy"] = "Peluda";
54
- UserCategory["Pregnant"] = "Gr\u00E1vida";
55
- UserCategory["Lactating"] = "Lactante";
56
- UserCategory["MILF"] = "MILF";
57
- UserCategory["GILF"] = "GILF";
58
- UserCategory["Ebony"] = "Negra";
59
- UserCategory["Asian"] = "Asi\u00E1tica";
60
- UserCategory["Latina"] = "Latina";
61
- UserCategory["White"] = "Branca";
62
- UserCategory["Arab"] = "\u00C1rabe";
63
- UserCategory["Indian"] = "Indiana";
64
- UserCategory["Blonde"] = "Loira";
65
- UserCategory["Brunette"] = "Morena";
66
- UserCategory["Redhead"] = "Ruiva";
67
- UserCategory["Gamer"] = "Gamer";
68
- UserCategory["Student"] = "Estudante";
69
- UserCategory["Nurse"] = "Enfermeira";
70
- UserCategory["Maid"] = "Empregada";
71
- UserCategory["Teacher"] = "Professora";
72
- UserCategory["Secretary"] = "Secret\u00E1ria";
73
- UserCategory["Nympho"] = "Ninfoman\u00EDaca";
74
- UserCategory["New"] = "Nova";
75
- UserCategory["Verified"] = "Verificada";
7
+ UserCategory["Male"] = "Homem";
8
+ UserCategory["Female"] = "Mulher";
9
+ UserCategory["Trans"] = "Trans";
76
10
  // Tourism
11
+ UserCategory["Tour"] = "Tour";
12
+ UserCategory["Restaurant"] = "Restaurant";
13
+ UserCategory["Wheelbarrow"] = "Wheelbarrow";
14
+ UserCategory["Photographer"] = "Photographer";
15
+ UserCategory["DayUse"] = "DayUse";
16
+ UserCategory["Transfer"] = "Transfer";
17
+ UserCategory["TourGuide"] = "TourGuide";
18
+ UserCategory["Show"] = "Show";
19
+ UserCategory["Event"] = "Event";
77
20
  })(UserCategory || (exports.UserCategory = UserCategory = {}));
@@ -0,0 +1,114 @@
1
+ export declare enum UserTags {
2
+ CityTour = "CityTour",
3
+ CulturalTour = "CulturalTour",
4
+ GastronomicTour = "GastronomicTour",
5
+ AdventureTour = "AdventureTour",
6
+ HistoricalTour = "HistoricalTour",
7
+ NatureTour = "NatureTour",
8
+ ReligiousTour = "ReligiousTour",
9
+ ShoppingTour = "ShoppingTour",
10
+ AquaticTour = "AquaticTour",
11
+ Brazilian = "Brazilian",
12
+ Italian = "Italian",
13
+ Japanese = "Japanese",
14
+ Chinese = "Chinese",
15
+ Mexican = "Mexican",
16
+ Arabic = "Arabic",
17
+ French = "French",
18
+ Indian = "Indian",
19
+ Mediterranean = "Mediterranean",
20
+ Vegetarian = "Vegetarian",
21
+ Wedding = "Wedding",
22
+ Tourism = "Tourism",
23
+ Fashion = "Fashion",
24
+ Air = "Air",
25
+ Sea = "Sea",
26
+ Land = "Land",
27
+ Pop = "Pop",
28
+ Rock = "Rock",
29
+ Electronic = "Electronic",
30
+ Samba = "Samba",
31
+ Sertanejo = "Sertanejo",
32
+ Forro = "Forro",
33
+ Funk = "Funk",
34
+ MPB = "MPB",
35
+ CulturalFestival = "CulturalFestival",
36
+ MusicEvent = "MusicEvent",
37
+ SportsEvent = "SportsEvent",
38
+ GastronomicEvent = "GastronomicEvent",
39
+ FairAndExhibition = "FairAndExhibition",
40
+ ReligiousEvent = "ReligiousEvent",
41
+ CorporateEvent = "CorporateEvent",
42
+ FashionAndBeautyEvent = "FashionAndBeautyEvent",
43
+ FamilyAndKidsEvent = "FamilyAndKidsEvent",
44
+ AdventureAndEcoTourismEvent = "AdventureAndEcoTourismEvent",
45
+ Couple = "Couple",
46
+ Group = "Group",
47
+ BBW = "BBW",
48
+ Slim = "Slim",
49
+ Athletic = "Athletic",
50
+ Petite = "Petite",
51
+ Curvy = "Curvy",
52
+ Muscle = "Muscle",
53
+ Mature = "Mature",
54
+ Teen18Plus = "Teen18Plus",
55
+ Feet = "Feet",
56
+ BDSM = "BDSM",
57
+ Roleplay = "Roleplay",
58
+ JOI = "JOI",
59
+ SPH = "SPH",
60
+ Findom = "Findom",
61
+ Domination = "Domination",
62
+ Submission = "Submission",
63
+ DirtyTalk = "DirtyTalk",
64
+ Voyeur = "Voyeur",
65
+ Cuckold = "Cuckold",
66
+ ASMR = "ASMR",
67
+ Solo = "Solo",
68
+ InteractiveToys = "InteractiveToys",
69
+ OilShow = "OilShow",
70
+ Striptease = "Striptease",
71
+ Dancing = "Dancing",
72
+ Shower = "Shower",
73
+ Outdoor = "Outdoor",
74
+ Cosplay = "Cosplay",
75
+ Smoking = "Smoking",
76
+ Toys = "Toys",
77
+ Anal = "Anal",
78
+ Fingering = "Fingering",
79
+ Oral = "Oral",
80
+ DP = "DP",
81
+ Squirt = "Squirt",
82
+ ShowerShow = "ShowerShow",
83
+ Tattooed = "Tattooed",
84
+ Pierced = "Pierced",
85
+ Shaved = "Shaved",
86
+ Natural = "Natural",
87
+ Hairy = "Hairy",
88
+ Pregnant = "Pregnant",
89
+ Lactating = "Lactating",
90
+ MILF = "MILF",
91
+ GILF = "GILF",
92
+ Ebony = "Ebony",
93
+ Asian = "Asian",
94
+ Latina = "Latina",
95
+ White = "White",
96
+ Arab = "Arab",
97
+ Blonde = "Blonde",
98
+ Brunette = "Brunette",
99
+ Redhead = "Redhead",
100
+ Gamer = "Gamer",
101
+ Student = "Student",
102
+ Nurse = "Nurse",
103
+ Maid = "Maid",
104
+ Teacher = "Teacher",
105
+ Secretary = "Secretary",
106
+ Nympho = "Nympho"
107
+ }
108
+ export declare const TOUR_TAGS: UserTags[];
109
+ export declare const RESTAURANT_TAGS: UserTags[];
110
+ export declare const PHOTOGRAPHER_TAGS: UserTags[];
111
+ export declare const TRANSFER_TAGS: UserTags[];
112
+ export declare const SHOW_TAGS: UserTags[];
113
+ export declare const EVENT_TAGS: UserTags[];
114
+ export declare const PRIVATE_SHOW_COMMON_TAGS: UserTags[];
@@ -0,0 +1,233 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PRIVATE_SHOW_COMMON_TAGS = exports.EVENT_TAGS = exports.SHOW_TAGS = exports.TRANSFER_TAGS = exports.PHOTOGRAPHER_TAGS = exports.RESTAURANT_TAGS = exports.TOUR_TAGS = exports.UserTags = void 0;
4
+ var UserTags;
5
+ (function (UserTags) {
6
+ // Tour
7
+ UserTags["CityTour"] = "CityTour";
8
+ UserTags["CulturalTour"] = "CulturalTour";
9
+ UserTags["GastronomicTour"] = "GastronomicTour";
10
+ UserTags["AdventureTour"] = "AdventureTour";
11
+ UserTags["HistoricalTour"] = "HistoricalTour";
12
+ UserTags["NatureTour"] = "NatureTour";
13
+ UserTags["ReligiousTour"] = "ReligiousTour";
14
+ UserTags["ShoppingTour"] = "ShoppingTour";
15
+ UserTags["AquaticTour"] = "AquaticTour";
16
+ // restaurant
17
+ UserTags["Brazilian"] = "Brazilian";
18
+ UserTags["Italian"] = "Italian";
19
+ UserTags["Japanese"] = "Japanese";
20
+ UserTags["Chinese"] = "Chinese";
21
+ UserTags["Mexican"] = "Mexican";
22
+ UserTags["Arabic"] = "Arabic";
23
+ UserTags["French"] = "French";
24
+ UserTags["Indian"] = "Indian";
25
+ UserTags["Mediterranean"] = "Mediterranean";
26
+ UserTags["Vegetarian"] = "Vegetarian";
27
+ // pohotographer
28
+ UserTags["Wedding"] = "Wedding";
29
+ UserTags["Tourism"] = "Tourism";
30
+ UserTags["Fashion"] = "Fashion";
31
+ // transfer
32
+ UserTags["Air"] = "Air";
33
+ UserTags["Sea"] = "Sea";
34
+ UserTags["Land"] = "Land";
35
+ // show
36
+ UserTags["Pop"] = "Pop";
37
+ UserTags["Rock"] = "Rock";
38
+ UserTags["Electronic"] = "Electronic";
39
+ UserTags["Samba"] = "Samba";
40
+ UserTags["Sertanejo"] = "Sertanejo";
41
+ UserTags["Forro"] = "Forro";
42
+ UserTags["Funk"] = "Funk";
43
+ UserTags["MPB"] = "MPB";
44
+ // events
45
+ UserTags["CulturalFestival"] = "CulturalFestival";
46
+ UserTags["MusicEvent"] = "MusicEvent";
47
+ UserTags["SportsEvent"] = "SportsEvent";
48
+ UserTags["GastronomicEvent"] = "GastronomicEvent";
49
+ UserTags["FairAndExhibition"] = "FairAndExhibition";
50
+ UserTags["ReligiousEvent"] = "ReligiousEvent";
51
+ UserTags["CorporateEvent"] = "CorporateEvent";
52
+ UserTags["FashionAndBeautyEvent"] = "FashionAndBeautyEvent";
53
+ UserTags["FamilyAndKidsEvent"] = "FamilyAndKidsEvent";
54
+ UserTags["AdventureAndEcoTourismEvent"] = "AdventureAndEcoTourismEvent";
55
+ // Private show
56
+ UserTags["Couple"] = "Couple";
57
+ UserTags["Group"] = "Group";
58
+ UserTags["BBW"] = "BBW";
59
+ UserTags["Slim"] = "Slim";
60
+ UserTags["Athletic"] = "Athletic";
61
+ UserTags["Petite"] = "Petite";
62
+ UserTags["Curvy"] = "Curvy";
63
+ UserTags["Muscle"] = "Muscle";
64
+ UserTags["Mature"] = "Mature";
65
+ UserTags["Teen18Plus"] = "Teen18Plus";
66
+ UserTags["Feet"] = "Feet";
67
+ UserTags["BDSM"] = "BDSM";
68
+ UserTags["Roleplay"] = "Roleplay";
69
+ UserTags["JOI"] = "JOI";
70
+ UserTags["SPH"] = "SPH";
71
+ UserTags["Findom"] = "Findom";
72
+ UserTags["Domination"] = "Domination";
73
+ UserTags["Submission"] = "Submission";
74
+ UserTags["DirtyTalk"] = "DirtyTalk";
75
+ UserTags["Voyeur"] = "Voyeur";
76
+ UserTags["Cuckold"] = "Cuckold";
77
+ UserTags["ASMR"] = "ASMR";
78
+ UserTags["Solo"] = "Solo";
79
+ UserTags["InteractiveToys"] = "InteractiveToys";
80
+ UserTags["OilShow"] = "OilShow";
81
+ UserTags["Striptease"] = "Striptease";
82
+ UserTags["Dancing"] = "Dancing";
83
+ UserTags["Shower"] = "Shower";
84
+ UserTags["Outdoor"] = "Outdoor";
85
+ UserTags["Cosplay"] = "Cosplay";
86
+ UserTags["Smoking"] = "Smoking";
87
+ UserTags["Toys"] = "Toys";
88
+ UserTags["Anal"] = "Anal";
89
+ UserTags["Fingering"] = "Fingering";
90
+ UserTags["Oral"] = "Oral";
91
+ UserTags["DP"] = "DP";
92
+ UserTags["Squirt"] = "Squirt";
93
+ UserTags["ShowerShow"] = "ShowerShow";
94
+ UserTags["Tattooed"] = "Tattooed";
95
+ UserTags["Pierced"] = "Pierced";
96
+ UserTags["Shaved"] = "Shaved";
97
+ UserTags["Natural"] = "Natural";
98
+ UserTags["Hairy"] = "Hairy";
99
+ UserTags["Pregnant"] = "Pregnant";
100
+ UserTags["Lactating"] = "Lactating";
101
+ UserTags["MILF"] = "MILF";
102
+ UserTags["GILF"] = "GILF";
103
+ UserTags["Ebony"] = "Ebony";
104
+ UserTags["Asian"] = "Asian";
105
+ UserTags["Latina"] = "Latina";
106
+ UserTags["White"] = "White";
107
+ UserTags["Arab"] = "Arab";
108
+ UserTags["Blonde"] = "Blonde";
109
+ UserTags["Brunette"] = "Brunette";
110
+ UserTags["Redhead"] = "Redhead";
111
+ UserTags["Gamer"] = "Gamer";
112
+ UserTags["Student"] = "Student";
113
+ UserTags["Nurse"] = "Nurse";
114
+ UserTags["Maid"] = "Maid";
115
+ UserTags["Teacher"] = "Teacher";
116
+ UserTags["Secretary"] = "Secretary";
117
+ UserTags["Nympho"] = "Nympho";
118
+ })(UserTags || (exports.UserTags = UserTags = {}));
119
+ exports.TOUR_TAGS = [
120
+ UserTags.CityTour,
121
+ UserTags.CulturalTour,
122
+ UserTags.GastronomicTour,
123
+ UserTags.AdventureTour,
124
+ UserTags.HistoricalTour,
125
+ UserTags.NatureTour,
126
+ UserTags.ReligiousTour,
127
+ UserTags.ShoppingTour,
128
+ UserTags.AquaticTour
129
+ ];
130
+ exports.RESTAURANT_TAGS = [
131
+ UserTags.Brazilian,
132
+ UserTags.Italian,
133
+ UserTags.Japanese,
134
+ UserTags.Chinese,
135
+ UserTags.Mexican,
136
+ UserTags.Arabic,
137
+ UserTags.French,
138
+ UserTags.Indian,
139
+ UserTags.Mediterranean,
140
+ UserTags.Vegetarian
141
+ ];
142
+ exports.PHOTOGRAPHER_TAGS = [
143
+ UserTags.Wedding,
144
+ UserTags.Tourism,
145
+ UserTags.Fashion
146
+ ];
147
+ exports.TRANSFER_TAGS = [UserTags.Air, UserTags.Sea, UserTags.Land];
148
+ exports.SHOW_TAGS = [
149
+ UserTags.Pop,
150
+ UserTags.Rock,
151
+ UserTags.Electronic,
152
+ UserTags.Samba,
153
+ UserTags.Sertanejo,
154
+ UserTags.Forro,
155
+ UserTags.Funk,
156
+ UserTags.MPB
157
+ ];
158
+ exports.EVENT_TAGS = [
159
+ UserTags.CulturalFestival,
160
+ UserTags.MusicEvent,
161
+ UserTags.SportsEvent,
162
+ UserTags.GastronomicEvent,
163
+ UserTags.FairAndExhibition,
164
+ UserTags.ReligiousEvent,
165
+ UserTags.CorporateEvent,
166
+ UserTags.FashionAndBeautyEvent,
167
+ UserTags.FamilyAndKidsEvent,
168
+ UserTags.AdventureAndEcoTourismEvent
169
+ ];
170
+ exports.PRIVATE_SHOW_COMMON_TAGS = [
171
+ UserTags.Solo,
172
+ UserTags.Couple,
173
+ UserTags.Group,
174
+ UserTags.BBW,
175
+ UserTags.Slim,
176
+ UserTags.Athletic,
177
+ UserTags.Petite,
178
+ UserTags.Curvy,
179
+ UserTags.Muscle,
180
+ UserTags.Mature,
181
+ UserTags.Teen18Plus,
182
+ UserTags.Feet,
183
+ UserTags.BDSM,
184
+ UserTags.Roleplay,
185
+ UserTags.JOI,
186
+ UserTags.SPH,
187
+ UserTags.Findom,
188
+ UserTags.Domination,
189
+ UserTags.Submission,
190
+ UserTags.DirtyTalk,
191
+ UserTags.Voyeur,
192
+ UserTags.Cuckold,
193
+ UserTags.ASMR,
194
+ UserTags.InteractiveToys,
195
+ UserTags.OilShow,
196
+ UserTags.Striptease,
197
+ UserTags.Dancing,
198
+ UserTags.Shower,
199
+ UserTags.Outdoor,
200
+ UserTags.Cosplay,
201
+ UserTags.Smoking,
202
+ UserTags.Toys,
203
+ UserTags.Anal,
204
+ UserTags.Fingering,
205
+ UserTags.Oral,
206
+ UserTags.DP,
207
+ UserTags.Squirt,
208
+ UserTags.ShowerShow,
209
+ UserTags.Tattooed,
210
+ UserTags.Pierced,
211
+ UserTags.Shaved,
212
+ UserTags.Natural,
213
+ UserTags.Hairy,
214
+ UserTags.Pregnant,
215
+ UserTags.Lactating,
216
+ UserTags.MILF,
217
+ UserTags.GILF,
218
+ UserTags.Ebony,
219
+ UserTags.Asian,
220
+ UserTags.Latina,
221
+ UserTags.White,
222
+ UserTags.Arab,
223
+ UserTags.Blonde,
224
+ UserTags.Brunette,
225
+ UserTags.Redhead,
226
+ UserTags.Gamer,
227
+ UserTags.Student,
228
+ UserTags.Nurse,
229
+ UserTags.Maid,
230
+ UserTags.Teacher,
231
+ UserTags.Secretary,
232
+ UserTags.Nympho
233
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrcb/cb-common",
3
- "version": "1.0.365",
3
+ "version": "1.0.368",
4
4
  "description": "Common resources between services",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",