@bigbinary/neeto-integrations-frontend 2.3.0 → 2.4.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.
- package/dist/Twilio.cjs.js +540 -0
- package/dist/Twilio.cjs.js.map +1 -0
- package/dist/Twilio.js +512 -0
- package/dist/Twilio.js.map +1 -0
- package/dist/index.cjs.js +441 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +441 -4
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/translations/en.json +22 -1
- package/types.d.ts +10 -5
package/src/translations/en.json
CHANGED
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
"finish": "Finish",
|
|
10
10
|
"required": "Required",
|
|
11
11
|
"delete": "Delete",
|
|
12
|
-
"tryAgain": "Try Again"
|
|
12
|
+
"tryAgain": "Try Again",
|
|
13
|
+
"verify": "Verify",
|
|
14
|
+
"phNo": "Phone number",
|
|
15
|
+
"saveChanges": "Save changes"
|
|
13
16
|
},
|
|
14
17
|
"tags": {
|
|
15
18
|
"connected": "Connected",
|
|
@@ -49,6 +52,24 @@
|
|
|
49
52
|
"required": "Label is required",
|
|
50
53
|
"noBlankSpaces": "Label should not contain blank spaces"
|
|
51
54
|
}
|
|
55
|
+
},
|
|
56
|
+
"twilio": {
|
|
57
|
+
"sid": "SID",
|
|
58
|
+
"authToken": "Auth token",
|
|
59
|
+
"validations": {
|
|
60
|
+
"sidReq": "SID is required",
|
|
61
|
+
"authTokenReq": "Auth token is required",
|
|
62
|
+
"phNumReq": "Phone number is required"
|
|
63
|
+
},
|
|
64
|
+
"smsConfiguration": {
|
|
65
|
+
"delete": "Twilio SMS integration has been successfully deleted.",
|
|
66
|
+
"configuredSuccess": "Twilio SMS integration has been successfully configured.",
|
|
67
|
+
"invalidCredentials": "Twilio credentials are invalid",
|
|
68
|
+
"invalidPhoneNumberConfig": "Twilio phone number is invalid"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"steps": {
|
|
72
|
+
"configure": "Configure"
|
|
52
73
|
}
|
|
53
74
|
}
|
|
54
75
|
}
|
package/types.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ButtonProps, TooltipProps } from "neetoui";
|
|
|
3
3
|
import React from "react";
|
|
4
4
|
|
|
5
5
|
declare global {
|
|
6
|
-
declare module "assets/*"
|
|
6
|
+
declare module "assets/*";
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
interface CardProps {
|
|
@@ -26,7 +26,7 @@ interface CardProps {
|
|
|
26
26
|
tooltipProps?: Partial<TooltipProps>;
|
|
27
27
|
customDropDown?: React.ReactNode;
|
|
28
28
|
children?: React.ReactNode;
|
|
29
|
-
}
|
|
29
|
+
}
|
|
30
30
|
|
|
31
31
|
interface ModalProps {
|
|
32
32
|
isOpen: (...args: any[]) => any;
|
|
@@ -58,9 +58,9 @@ interface FinishProps {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
interface DemoProps {
|
|
61
|
-
title?: string
|
|
62
|
-
subtitle?: string
|
|
63
|
-
iframeTitle?: string
|
|
61
|
+
title?: string;
|
|
62
|
+
subtitle?: string;
|
|
63
|
+
iframeTitle?: string;
|
|
64
64
|
onClose: () => void;
|
|
65
65
|
videoUrl: string;
|
|
66
66
|
children?: React.ReactNode;
|
|
@@ -81,6 +81,10 @@ interface DisconnectAlertProps {
|
|
|
81
81
|
onClose: (...args: any[]) => any;
|
|
82
82
|
onDisconnect: (...args: any[]) => any;
|
|
83
83
|
}
|
|
84
|
+
interface TwilioProps {
|
|
85
|
+
onClose: (...args: any[]) => any;
|
|
86
|
+
useConnect: (...args: any[]) => any;
|
|
87
|
+
}
|
|
84
88
|
|
|
85
89
|
export const Card: React.FC<CardProps>;
|
|
86
90
|
export const Modal: React.FC<ModalProps>;
|
|
@@ -89,3 +93,4 @@ export const Finish: React.FC<FinishProps>;
|
|
|
89
93
|
export const Demo: React.FC<DemoProps>;
|
|
90
94
|
export const WalkthroughModal: React.FC<WalkthroughModalProps>;
|
|
91
95
|
export const DisconnectAlert: React.FC<DisconnectAlertProps>;
|
|
96
|
+
export const Twilio: React.FC<TwilioProps>;
|