@trii/types 2.10.644 → 2.10.646

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.
@@ -25,7 +25,7 @@ interface IChannelInfo {
25
25
  /**
26
26
  * Indicates if the WhatsApp business is on the WhatsApp Business App
27
27
  */
28
- isOnBizApp?: boolean | null;
28
+ cloudApiIsOnBizApp?: boolean | null;
29
29
  }
30
30
  interface IChannel {
31
31
  id?: string | null;
@@ -29,8 +29,7 @@ export interface WhatsAppConfig {
29
29
  apiqrToken?: string;
30
30
  apiqrVersion?: string;
31
31
  apiqrPhoneNumber?: string;
32
- onboardingCompleted: boolean;
33
- manualConfiguration: boolean;
32
+ cloudApiInfo: CloudApiInfo;
34
33
  cloudApiSystemUserAccessToken?: string;
35
34
  cloudApiAppToken?: string;
36
35
  cloudApiMetaDeveloperAppId?: string;
@@ -42,7 +41,14 @@ export interface WhatsAppConfig {
42
41
  cloudApiBusinessName: string | '';
43
42
  cloudApiBusinessIsVerified: boolean;
44
43
  cloudApiIsOBA: boolean;
45
- cloudApiInfo: CloudApiInfo;
44
+ onboardingCompleted: boolean;
45
+ manualConfiguration: boolean;
46
+ cloudApiIsActive: boolean;
47
+ cloudApiIsWebhookSet: boolean;
48
+ /**
49
+ * cloudAPI + Business App
50
+ */
51
+ cloudApiIsOnBizApp: boolean;
46
52
  }
47
53
  export interface CloudApiInfo {
48
54
  verifiedName: string;
@@ -50,12 +56,6 @@ export interface CloudApiInfo {
50
56
  requestName: string;
51
57
  phoneNumber?: string;
52
58
  username?: string;
53
- isActive: boolean;
54
- isWebhookSet: boolean;
55
- /**
56
- * cloudAPI + Business App
57
- */
58
- isOnBizApp: boolean;
59
59
  about: string;
60
60
  address: string;
61
61
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.644",
3
+ "version": "2.10.646",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",