@talkplay/shared-types 1.0.56 → 1.0.57
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +3 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -304,6 +304,7 @@ var TkplayErrorCodesEnum = {
|
|
|
304
304
|
SESSION_NOT_FOUND: "SESSION_NOT_FOUND",
|
|
305
305
|
FORBIDDEN_SESSION_TYPE: "FORBIDDEN_SESSION_TYPE",
|
|
306
306
|
FORBIDDEN_ROLE: "FORBIDDEN_ROLE",
|
|
307
|
+
FORBBIDEN_RESOURCE: "FORBBIDEN_RESOURCE",
|
|
307
308
|
// Billing
|
|
308
309
|
PAYMENT_UNAUTHORIZED: "PAYMENT_UNAUTHORIZED",
|
|
309
310
|
PAYMENT_FAIL: "PAYMENT_FAIL",
|
|
@@ -730,6 +731,7 @@ var TKPLAY_ERRORS_MAP = {
|
|
|
730
731
|
RADIO_PAYMENT_DELINQUENT: "Payment required",
|
|
731
732
|
SESSION_NOT_FOUND: "Session not found or expired",
|
|
732
733
|
FORBIDDEN_SESSION_TYPE: "Access denied for this session type",
|
|
734
|
+
FORBBIDEN_RESOURCE: "The requested resource belongs to another radio",
|
|
733
735
|
FORBIDDEN_ROLE: (roles) => `Access denied. Required role(s): ${roles.join(" | ")}`,
|
|
734
736
|
// Billing Errors
|
|
735
737
|
PAYMENT_UNAUTHORIZED: "Payment provider authentication failed",
|
|
@@ -785,6 +787,7 @@ var TKPLAY_ERRORS__PTBR = {
|
|
|
785
787
|
SESSION_NOT_FOUND: "Sess\xE3o n\xE3o encontrada ou expirada",
|
|
786
788
|
FORBIDDEN_SESSION_TYPE: "Acesso negado para este tipo de sess\xE3o",
|
|
787
789
|
FORBIDDEN_ROLE: "Acesso negado para o perfil informado",
|
|
790
|
+
FORBBIDEN_RESOURCE: "O recurso solicitado/processado pertence \xE0 outra r\xE1dio",
|
|
788
791
|
// Billing Errors
|
|
789
792
|
PAYMENT_UNAUTHORIZED: "Falha na autentica\xE7\xE3o com o provedor de pagamento",
|
|
790
793
|
PAYMENT_FAIL: "Falha no pagamento",
|
package/dist/index.mjs
CHANGED
|
@@ -224,6 +224,7 @@ var TkplayErrorCodesEnum = {
|
|
|
224
224
|
SESSION_NOT_FOUND: "SESSION_NOT_FOUND",
|
|
225
225
|
FORBIDDEN_SESSION_TYPE: "FORBIDDEN_SESSION_TYPE",
|
|
226
226
|
FORBIDDEN_ROLE: "FORBIDDEN_ROLE",
|
|
227
|
+
FORBBIDEN_RESOURCE: "FORBBIDEN_RESOURCE",
|
|
227
228
|
// Billing
|
|
228
229
|
PAYMENT_UNAUTHORIZED: "PAYMENT_UNAUTHORIZED",
|
|
229
230
|
PAYMENT_FAIL: "PAYMENT_FAIL",
|
|
@@ -650,6 +651,7 @@ var TKPLAY_ERRORS_MAP = {
|
|
|
650
651
|
RADIO_PAYMENT_DELINQUENT: "Payment required",
|
|
651
652
|
SESSION_NOT_FOUND: "Session not found or expired",
|
|
652
653
|
FORBIDDEN_SESSION_TYPE: "Access denied for this session type",
|
|
654
|
+
FORBBIDEN_RESOURCE: "The requested resource belongs to another radio",
|
|
653
655
|
FORBIDDEN_ROLE: (roles) => `Access denied. Required role(s): ${roles.join(" | ")}`,
|
|
654
656
|
// Billing Errors
|
|
655
657
|
PAYMENT_UNAUTHORIZED: "Payment provider authentication failed",
|
|
@@ -705,6 +707,7 @@ var TKPLAY_ERRORS__PTBR = {
|
|
|
705
707
|
SESSION_NOT_FOUND: "Sess\xE3o n\xE3o encontrada ou expirada",
|
|
706
708
|
FORBIDDEN_SESSION_TYPE: "Acesso negado para este tipo de sess\xE3o",
|
|
707
709
|
FORBIDDEN_ROLE: "Acesso negado para o perfil informado",
|
|
710
|
+
FORBBIDEN_RESOURCE: "O recurso solicitado/processado pertence \xE0 outra r\xE1dio",
|
|
708
711
|
// Billing Errors
|
|
709
712
|
PAYMENT_UNAUTHORIZED: "Falha na autentica\xE7\xE3o com o provedor de pagamento",
|
|
710
713
|
PAYMENT_FAIL: "Falha no pagamento",
|