@talkplay/shared-types 1.0.76 → 1.0.78
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -0
- package/dist/index.mjs +6 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -37,6 +37,8 @@ declare const JobsEnum: {
|
|
|
37
37
|
type JobsEnum = Enum<typeof JobsEnum>;
|
|
38
38
|
|
|
39
39
|
declare const TkplayErrorCodesEnum: {
|
|
40
|
+
CNPJ_INVALID: string;
|
|
41
|
+
CPF_INVALID: string;
|
|
40
42
|
EFI_ERROR: string;
|
|
41
43
|
VALIDATION_ERROR: string;
|
|
42
44
|
MODULE_NAME_IS_TAKEN: string;
|
|
@@ -868,7 +870,6 @@ type PopulatedProgramScriptBlock = PopulatedProgramScriptElement[];
|
|
|
868
870
|
type PopulatedProgramScriptEntity = PopulatedProgramScriptBlock[];
|
|
869
871
|
|
|
870
872
|
type VoiceProfileEntity = BaseEntity & {
|
|
871
|
-
name: string;
|
|
872
873
|
source: VoiceProfileSourcesEnum;
|
|
873
874
|
provider: TtsProvidersEnum;
|
|
874
875
|
externalProviderId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ declare const JobsEnum: {
|
|
|
37
37
|
type JobsEnum = Enum<typeof JobsEnum>;
|
|
38
38
|
|
|
39
39
|
declare const TkplayErrorCodesEnum: {
|
|
40
|
+
CNPJ_INVALID: string;
|
|
41
|
+
CPF_INVALID: string;
|
|
40
42
|
EFI_ERROR: string;
|
|
41
43
|
VALIDATION_ERROR: string;
|
|
42
44
|
MODULE_NAME_IS_TAKEN: string;
|
|
@@ -868,7 +870,6 @@ type PopulatedProgramScriptBlock = PopulatedProgramScriptElement[];
|
|
|
868
870
|
type PopulatedProgramScriptEntity = PopulatedProgramScriptBlock[];
|
|
869
871
|
|
|
870
872
|
type VoiceProfileEntity = BaseEntity & {
|
|
871
|
-
name: string;
|
|
872
873
|
source: VoiceProfileSourcesEnum;
|
|
873
874
|
provider: TtsProvidersEnum;
|
|
874
875
|
externalProviderId: string;
|
package/dist/index.js
CHANGED
|
@@ -306,6 +306,8 @@ var JobsEnum = {
|
|
|
306
306
|
// src/enums/commom/error-codes.ts
|
|
307
307
|
var TkplayErrorCodesEnum = {
|
|
308
308
|
// Commom
|
|
309
|
+
CNPJ_INVALID: "CNPJ_INVALID",
|
|
310
|
+
CPF_INVALID: "CPF_INVALID",
|
|
309
311
|
EFI_ERROR: "EFI_ERROR",
|
|
310
312
|
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
311
313
|
// Module
|
|
@@ -805,6 +807,8 @@ var MAX_CASTER_SAMPLES_DURATION_IN_SECONDS = 270;
|
|
|
805
807
|
// src/constants/tkplay-errors-map.ts
|
|
806
808
|
var TKPLAY_ERRORS_MAP = {
|
|
807
809
|
// Commoon
|
|
810
|
+
CNPJ_INVALID: "CNPJ is invalid",
|
|
811
|
+
CPF_INVALID: "CPF is invalid",
|
|
808
812
|
EFI_ERROR: "Error sending data to Ef\xED Payments",
|
|
809
813
|
VALIDATION_ERROR: "Provided data has validation errors, check error.data for more details",
|
|
810
814
|
// System Errors
|
|
@@ -867,6 +871,8 @@ var TKPLAY_ERRORS_MAP = {
|
|
|
867
871
|
// src/constants/tkplay-errors-ptbr.ts
|
|
868
872
|
var TKPLAY_ERRORS__PTBR = {
|
|
869
873
|
// Commom
|
|
874
|
+
CNPJ_INVALID: "CNPJ \xE9 inv\xE1lido",
|
|
875
|
+
CPF_INVALID: "CPF \xE9 inv\xE1lido",
|
|
870
876
|
EFI_ERROR: "O provedor de pagamentos est\xE1 passando por instabilidades. Tente novamente",
|
|
871
877
|
VALIDATION_ERROR: "Os dados enviados na requisi\xE7\xE3o s\xE3o inv\xE1lidos",
|
|
872
878
|
// System Errors
|
package/dist/index.mjs
CHANGED
|
@@ -211,6 +211,8 @@ var JobsEnum = {
|
|
|
211
211
|
// src/enums/commom/error-codes.ts
|
|
212
212
|
var TkplayErrorCodesEnum = {
|
|
213
213
|
// Commom
|
|
214
|
+
CNPJ_INVALID: "CNPJ_INVALID",
|
|
215
|
+
CPF_INVALID: "CPF_INVALID",
|
|
214
216
|
EFI_ERROR: "EFI_ERROR",
|
|
215
217
|
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
216
218
|
// Module
|
|
@@ -710,6 +712,8 @@ var MAX_CASTER_SAMPLES_DURATION_IN_SECONDS = 270;
|
|
|
710
712
|
// src/constants/tkplay-errors-map.ts
|
|
711
713
|
var TKPLAY_ERRORS_MAP = {
|
|
712
714
|
// Commoon
|
|
715
|
+
CNPJ_INVALID: "CNPJ is invalid",
|
|
716
|
+
CPF_INVALID: "CPF is invalid",
|
|
713
717
|
EFI_ERROR: "Error sending data to Ef\xED Payments",
|
|
714
718
|
VALIDATION_ERROR: "Provided data has validation errors, check error.data for more details",
|
|
715
719
|
// System Errors
|
|
@@ -772,6 +776,8 @@ var TKPLAY_ERRORS_MAP = {
|
|
|
772
776
|
// src/constants/tkplay-errors-ptbr.ts
|
|
773
777
|
var TKPLAY_ERRORS__PTBR = {
|
|
774
778
|
// Commom
|
|
779
|
+
CNPJ_INVALID: "CNPJ \xE9 inv\xE1lido",
|
|
780
|
+
CPF_INVALID: "CPF \xE9 inv\xE1lido",
|
|
775
781
|
EFI_ERROR: "O provedor de pagamentos est\xE1 passando por instabilidades. Tente novamente",
|
|
776
782
|
VALIDATION_ERROR: "Os dados enviados na requisi\xE7\xE3o s\xE3o inv\xE1lidos",
|
|
777
783
|
// System Errors
|