@talkplay/shared-types 1.0.22 → 1.0.24

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/dist/index.d.mts CHANGED
@@ -71,6 +71,7 @@ declare const TkplayErrorCodesEnum: {
71
71
  USER_EMAIL_IS_TAKEN: string;
72
72
  USER_PASSWORDS_DONT_MATCH: string;
73
73
  UNABLE_TO_DELETE_USER: string;
74
+ LEAD_RADIO_ALREADY_EXISTIS: string;
74
75
  };
75
76
  type TkplayErrorCodesEnum = Enum<typeof TkplayErrorCodesEnum>;
76
77
 
@@ -786,11 +787,9 @@ type VerifyEmailAvailabilityResponse = {
786
787
  type CreateLeadPayload = Omit<LeadEntity, "status" | keyof BaseEntity>;
787
788
 
788
789
  type ListLeadsParams = PaginationParams & {
789
- cnpj?: string;
790
790
  fantasyName?: string;
791
791
  comercialEmail?: string;
792
792
  financialEmail?: string;
793
- wppNumber?: string;
794
793
  status: LeadStatusEnum;
795
794
  };
796
795
  type ListLeadsResponse = PaginatedResponseDTO<LeadEntity>;
package/dist/index.d.ts CHANGED
@@ -71,6 +71,7 @@ declare const TkplayErrorCodesEnum: {
71
71
  USER_EMAIL_IS_TAKEN: string;
72
72
  USER_PASSWORDS_DONT_MATCH: string;
73
73
  UNABLE_TO_DELETE_USER: string;
74
+ LEAD_RADIO_ALREADY_EXISTIS: string;
74
75
  };
75
76
  type TkplayErrorCodesEnum = Enum<typeof TkplayErrorCodesEnum>;
76
77
 
@@ -786,11 +787,9 @@ type VerifyEmailAvailabilityResponse = {
786
787
  type CreateLeadPayload = Omit<LeadEntity, "status" | keyof BaseEntity>;
787
788
 
788
789
  type ListLeadsParams = PaginationParams & {
789
- cnpj?: string;
790
790
  fantasyName?: string;
791
791
  comercialEmail?: string;
792
792
  financialEmail?: string;
793
- wppNumber?: string;
794
793
  status: LeadStatusEnum;
795
794
  };
796
795
  type ListLeadsResponse = PaginatedResponseDTO<LeadEntity>;
package/dist/index.js CHANGED
@@ -180,7 +180,9 @@ var TkplayErrorCodesEnum = {
180
180
  USER_NOT_FOUND: "USER_NOT_FOUND",
181
181
  USER_EMAIL_IS_TAKEN: "USER_EMAIL_IS_TAKEN",
182
182
  USER_PASSWORDS_DONT_MATCH: "USER_PASSWORDS_DONT_MATCH",
183
- UNABLE_TO_DELETE_USER: "UNABLE_TO_DELETE_USER"
183
+ UNABLE_TO_DELETE_USER: "UNABLE_TO_DELETE_USER",
184
+ // Leads
185
+ LEAD_RADIO_ALREADY_EXISTIS: "LEAD_RADIO_ALREADY_EXISTIS"
184
186
  };
185
187
 
186
188
  // src/enums/commom/error-names.ts
@@ -382,7 +384,9 @@ var TKPLAY_ERRORS_MAP = {
382
384
  USER_NOT_FOUND: "User not found",
383
385
  USER_EMAIL_IS_TAKEN: "User email is taken",
384
386
  USER_PASSWORDS_DONT_MATCH: "Provided passwords dont match",
385
- UNABLE_TO_DELETE_USER: "Admin users cannot be deleted"
387
+ UNABLE_TO_DELETE_USER: "Admin users cannot be deleted",
388
+ // Lead Errors
389
+ LEAD_RADIO_ALREADY_EXISTIS: "A radio with this lead infos alkready exists"
386
390
  };
387
391
 
388
392
  // src/constants/tkplay-errors-ptbr.ts
@@ -428,7 +432,9 @@ var TKPLAY_ERRORS__PTBR = {
428
432
  USER_NOT_FOUND: "Usu\xE1rio n\xE3o encontrado",
429
433
  USER_EMAIL_IS_TAKEN: "E-mail j\xE1 est\xE1 em uso",
430
434
  USER_PASSWORDS_DONT_MATCH: "As senhas informadas n\xE3o coincidem",
431
- UNABLE_TO_DELETE_USER: "Usu\xE1rios administradores n\xE3o podem ser removidos"
435
+ UNABLE_TO_DELETE_USER: "Usu\xE1rios administradores n\xE3o podem ser removidos",
436
+ // Lead Errors
437
+ LEAD_RADIO_ALREADY_EXISTIS: "J\xE1 existe uma r\xE1dio cadastrada com as informa\xE7\xF5es do lead"
432
438
  };
433
439
 
434
440
  // src/constants/tkplay-error-message-splitter.ts
package/dist/index.mjs CHANGED
@@ -127,7 +127,9 @@ var TkplayErrorCodesEnum = {
127
127
  USER_NOT_FOUND: "USER_NOT_FOUND",
128
128
  USER_EMAIL_IS_TAKEN: "USER_EMAIL_IS_TAKEN",
129
129
  USER_PASSWORDS_DONT_MATCH: "USER_PASSWORDS_DONT_MATCH",
130
- UNABLE_TO_DELETE_USER: "UNABLE_TO_DELETE_USER"
130
+ UNABLE_TO_DELETE_USER: "UNABLE_TO_DELETE_USER",
131
+ // Leads
132
+ LEAD_RADIO_ALREADY_EXISTIS: "LEAD_RADIO_ALREADY_EXISTIS"
131
133
  };
132
134
 
133
135
  // src/enums/commom/error-names.ts
@@ -329,7 +331,9 @@ var TKPLAY_ERRORS_MAP = {
329
331
  USER_NOT_FOUND: "User not found",
330
332
  USER_EMAIL_IS_TAKEN: "User email is taken",
331
333
  USER_PASSWORDS_DONT_MATCH: "Provided passwords dont match",
332
- UNABLE_TO_DELETE_USER: "Admin users cannot be deleted"
334
+ UNABLE_TO_DELETE_USER: "Admin users cannot be deleted",
335
+ // Lead Errors
336
+ LEAD_RADIO_ALREADY_EXISTIS: "A radio with this lead infos alkready exists"
333
337
  };
334
338
 
335
339
  // src/constants/tkplay-errors-ptbr.ts
@@ -375,7 +379,9 @@ var TKPLAY_ERRORS__PTBR = {
375
379
  USER_NOT_FOUND: "Usu\xE1rio n\xE3o encontrado",
376
380
  USER_EMAIL_IS_TAKEN: "E-mail j\xE1 est\xE1 em uso",
377
381
  USER_PASSWORDS_DONT_MATCH: "As senhas informadas n\xE3o coincidem",
378
- UNABLE_TO_DELETE_USER: "Usu\xE1rios administradores n\xE3o podem ser removidos"
382
+ UNABLE_TO_DELETE_USER: "Usu\xE1rios administradores n\xE3o podem ser removidos",
383
+ // Lead Errors
384
+ LEAD_RADIO_ALREADY_EXISTIS: "J\xE1 existe uma r\xE1dio cadastrada com as informa\xE7\xF5es do lead"
379
385
  };
380
386
 
381
387
  // src/constants/tkplay-error-message-splitter.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talkplay/shared-types",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",